Public Member Functions | |
void | load (rapidxml::xml_node< char > *node, const bool &echo=true) |
Public Member Functions inherited from Crab::Shape | |
void | load (rapidxml::xml_node< char > *node, const bool &echo=true) |
CollisionData | collide (Rect box) const |
bool | contains (const Vector2i &pos) |
void | draw (const int &xOffset=0, const int &yOffset=0, const uint8 &r=0, const uint8 &g=0, const uint8 &b=0, const uint8 &a=255) |
Public Attributes | |
Vector2f | _modifier |
Public Attributes inherited from Crab::Shape | |
ShapeType | _type |
Rect | _rect |
Polygon2D | _poly |