34 #include "common/multimap.h" 35 #include "crab/PathfindingGrid.h" 36 #include "crab/animation/sprite.h" 37 #include "crab/level/level_objects.h" 38 #include "crab/level/talknotify.h" 39 #include "crab/TMX/TMXMap.h" 43 namespace pyrodactyl {
95 void sortObjectsToDraw();
141 Level() : _playerIndex(0) {
151 void Camera(
int x,
int y,
int w,
int h) {
163 _objects[_playerIndex].stop();
167 return _objects[_playerIndex].id();
170 void playerId(
const Common::String &ID,
const int &x,
const int &y);
172 void showMap(
bool val) {
173 _showmap._normal = val;
177 return _showmap._current;
180 bool operator()(
int i,
int j);
187 const int &playerX = -1,
const int &playerY = -1);
210 void saveState(rapidxml::xml_document<> &doc, rapidxml::xml_node<char> *root);
211 void loadState(rapidxml::xml_node<char> *node);
220 #endif // CRAB_LEVEL_H Definition: managed_surface.h:51
Definition: Rectangle.h:42
Definition: ParagraphData.h:40
Definition: LevelResult.h:44
Definition: PathfindingGrid.h:43
Definition: level_objects.h:56
Definition: GameEventInfo.h:44
Definition: multimap.h:34
Definition: SpriteConstant.h:57
Definition: level_objects.h:42
Definition: talknotify.h:40
Definition: triggerset.h:40
Definition: moveeffect.h:37
Definition: MusicArea.h:41