|
enum | PrimType { RectangleType = 1,
LineType = 2,
PolygonType = 3,
InvalidType = 4
} |
|
|
void | createRectangle (const Common::Point &p1, const Common::Point &p2, const Color &color, bool filled) |
|
void | createLine (const Common::Point &p1, const Common::Point &p2, const Color &color) |
|
void | createPolygon (const Common::Point &p1, const Common::Point &p2, const Common::Point &p3, const Common::Point &p4, const Color &color) |
|
Common::Point | getP1 () const |
|
Common::Point | getP2 () const |
|
Common::Point | getP3 () const |
|
Common::Point | getP4 () const |
|
void | setPos (int x, int y) |
|
void | setEndpoint (int x, int y) |
|
void | setColor (const Color &color) |
|
Color | getColor () const |
|
PrimType | getType () const |
|
bool | isFilled () const |
|
void | draw () const |
|
void | saveState (SaveGame *state) const |
|
bool | restoreState (SaveGame *state) |
|
void | setId (int id) |
|
int | getId () const override |
|
int32 | getTag () const override |
|
|
static int32 | getStaticTag () |
|
static Pool & | getPool () |
|
|
static void | saveStaticState (SaveGame *state) |
|
static void | restoreStaticState (SaveGame *state) |
|
The documentation for this class was generated from the following file: