#ifndef MAP_MAPSTATE_H_
#define MAP_MAPSTATE_H_
+namespace common {
+ struct GameConfig;
+}
+namespace map {
+ class Map;
+ class Trigger;
+}
+
#include "Entity.h"
-#include "fwd.h"
#include "../app/State.h"
-#include "../common/fwd.h"
+#include "../app/Timer.h"
#include "../common/ScriptHost.h"
#include "../common/ScriptRunner.h"
#include "../math/Fixed.h"
void LockEntities();
bool CheckMonster();
+ void LoadBattle(Entity &hero, Entity &monster);
bool CheckLockTrigger();
bool CheckMoveTrigger();
graphics::Camera camera;
std::vector<Entity *> entities;
math::Fixed<8> walkingSpeed;
+ app::Timer<Uint32> tileAnimation;
int nextDirection;
bool afterLock;
bool skipLock;
}
-#endif /* MAP_MAPSTATE_H_ */
+#endif