B15F Board 15 Famulus Edition

dot.h
1 #ifndef DOT_H
2 #define DOT_H
3
4 #include <cstdint>
5 #include <stdexcept>
6
12 class Dot
13 {
14 public:
18 Dot(uint16_t x, uint16_t y, uint8_t curve);
19
23 uint16_t getX(void) const;
24
28 uint16_t getY(void) const;
29
33 uint8_t getCurve(void) const;
34
35 private:
36 const uint16_t x, y;
37 const uint8_t curve;
38 };
39
40
41 #endif // DOT_H
Dot::getX
uint16_t getX(void) const
Definition: dot.cpp:9
Dot
Definition: dot.h:12
Dot::getY
uint16_t getY(void) const
Definition: dot.cpp:14
Dot::getCurve
uint8_t getCurve(void) const
Definition: dot.cpp:19
Dot::Dot
Dot(uint16_t x, uint16_t y, uint8_t curve)
Definition: dot.cpp:3