summary refs log tree commit diff stats
path: root/src/systems/playing.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/systems/playing.h')
-rw-r--r--src/systems/playing.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/systems/playing.h b/src/systems/playing.h index c98a464..ff16808 100644 --- a/src/systems/playing.h +++ b/src/systems/playing.h
@@ -2,6 +2,7 @@
2#define PLAYING_H_70A54F7D 2#define PLAYING_H_70A54F7D
3 3
4#include "system.h" 4#include "system.h"
5#include "components/playable.h"
5 6
6class PlayingSystem : public System { 7class PlayingSystem : public System {
7public: 8public:
@@ -14,7 +15,13 @@ public:
14 15
15 void initPlayer(); 16 void initPlayer();
16 17
17 void changeMap(size_t mapId, double x, double y); 18 void changeMap(
19 size_t mapId,
20 double x,
21 double y,
22 PlayableComponent::MapChangeCallback callback = nullptr);
23
24 void die();
18 25
19}; 26};
20 27