ScummVM API documentation
Crab::Shape Class Reference
Inheritance diagram for Crab::Shape:
Crab::pyrodactyl::level::MusicArea Crab::pyrodactyl::level::Stairs

Public Member Functions

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

ShapeType _type
 
Rect _rect
 
Polygon2D _poly
 

The documentation for this class was generated from the following file: