blob: 86a7ee7848e2f192bd0ef5d4420eccd5a9e7bac6 (
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
|
#ifndef PLAYABLE_H_DDC566C3
#define PLAYABLE_H_DDC566C3
#include "component.h"
#include <functional>
class PlayableComponent : public Component {
public:
using MapChangeCallback = std::function<void()>;
bool changingMap = false;
int newMapId = -1;
double newMapX = 0;
double newMapY = 0;
MapChangeCallback newMapCallback;
int checkpointMapId = -1;
double checkpointX = 0;
double checkpointY = 0;
};
#endif /* end of include guard: PLAYABLE_H_DDC566C3 */
|