summary refs log tree commit diff stats
path: root/src/systems/playing.h
blob: ff168080ef3c8ae67fa0c7caab426de5d7987256 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#ifndef PLAYING_H_70A54F7D
#define PLAYING_H_70A54F7D

#include "system.h"
#include "components/playable.h"

class PlayingSystem : public System {
public:

  PlayingSystem(Game& game) : System(game)
  {
  }

  void tick(double dt);

  void initPlayer();

  void changeMap(
    size_t mapId,
    double x,
    double y,
    PlayableComponent::MapChangeCallback callback = nullptr);

  void die();

};

#endif /* end of include guard: PLAYING_H_70A54F7D */