Public Member Functions | |
void | reset () |
void | load (const Common::Path &path, const Common::String &filename) |
void | drawDebug (const Rect &camera) |
bool | insideWalk (const Rect &boundingBox) |
bool | insideWalk (const Vector2i &pos) |
bool | insideNoWalk (const Vector2i &pos) |
void | collideWithNoWalk (const Rect boundingBox, Common::List< CollisionData > &colliders) |
bool | collideWithExit (const Rect rect, LevelResult &res) |
bool | collideWithStairs (const Rect rect, Vector2f &velMod) |
bool | collideWithMusic (const Rect rect, pyrodactyl::level::MusicInfo &music) |
bool | collideWithTrigger (const Rect rect, int index) |
void | collideWithTrigger (const Rect rect, Common::Array< int > &collisionTable) |
int | w () |
int | h () |
const Rect & | areaWalk () const |
const Common::Array< Shape > & | areaNoWalk () const |
const Common::Array< pyrodactyl::level::Stairs > & | areaStairs () const |
Public Attributes | |
Common::Array< pyrodactyl::level::Exit > | _areaExit |
uint | _spriteLayer |
int | _tileRows |
int | _tileCols |
int | _pathRows |
int | _pathCols |
Vector2i | _tileSize |
Vector2i | _pathSize |
Common::Array< MapLayer > | _layer |
Common::Array< MapLayer > | _prop |
PathfindingGrid * | _grid |
struct { | |
int _open | |
int _noWalk | |
int _stairs | |
} | _movementCosts |
Protected Attributes | |
int | _w |
int | _h |
Rect | _areaWalk |
Common::Array< Shape > | _areaNowalk |
Common::Array< Shape > | _areaTrig |
Common::Array< pyrodactyl::level::Stairs > | _areaStairs |
Common::Array< pyrodactyl::level::MusicArea > | _areaMusic |