summary refs log tree commit diff stats
path: root/src/components/prototypable.h
blob: 4659e7c62d8791c800a3c4a65fda3d1dae9c585f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef PROTOTYPABLE_H_817F2205
#define PROTOTYPABLE_H_817F2205

#include "component.h"
#include "entity_manager.h"

class PrototypableComponent : public Component {
public:

  using id_type = EntityManager::id_type;

  size_t mapObjectIndex;

  std::string prototypeId;

  bool hasBehavior = false;
  bool runningBehavior = false;

  id_type behaviorScript;
};

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