|
Public Member Functions |
| | Level (string fname, TileInfo **_tilesinfo, ObjectInfo **_objectsinfo, GameTimer *_game_timer, ScoreManager *_score_manager, Input *_input) |
| | ~Level () |
| void | LoadMap (string fname) |
| void | AddObjectPos (Object *, int pos) |
| void | DeleteObjectPos (Object *, int pos) |
| bool | AddObject (Object *) |
| void | DeleteObject (Object *) |
| bool | CheckTileCollisions (Object *, Tile **) |
| Object * | CheckObjectCollisions (Object *) |
| ObjectCell * | RemoveObjectCell (ObjectCell *objcell) |
| void | TilesAction (int xl, int xr, int interval) |
| void | ObjectsAction (int xl, int xr) |
| void | PlayerAction () |
| void | DrawTiles (int xposition, Display *display) |
| void | DrawObjects (int xposition, Display *display) |
| int | GameStatus () |
| void | EndLevel () |
| Object * | GetPlayer () |
| int | GetWidth () |
| int | GetHeight () |
Private Attributes |
| int | mission |
| Object * | obj_player |
| int | width |
| int | height |
| int | nobjects |
| int | maxnobjects |
| Tile *** | tiles |
| Object ** | objects |
| ObjectCell ** | objcells_by_tilex |
| GameTimer * | game_timer |
| Input * | input |