Deep RTS
Despawned.h
Go to the documentation of this file.
1//
2// Created by Per-Arne on 25.02.2017.
3//
4
5#ifndef WARC2SIM_DESPAWNED_H
6#define WARC2SIM_DESPAWNED_H
7
8
9#include "../Constants.h"
10#include "BaseState.h"
11class Unit;
12
13class Despawned: public BaseState {
14public:
16 name = "Despawned";
17 }
18
19 void update(Unit & unit) override;
20 void init(Unit & unit) override;
21 void end(Unit & unit) override;
22};
23
24
25#endif //WARC2SIM_DESPAWNED_H
Definition: BaseState.h:14
std::string name
Definition: BaseState.h:19
Definition: Despawned.h:13
void init(Unit &unit) override
Definition: Despawned.cpp:14
void end(Unit &unit) override
Definition: Despawned.cpp:10
Despawned()
Definition: Despawned.h:15
void update(Unit &unit) override
Definition: Despawned.cpp:6
Definition: Unit.h:25
Definition: Constants.h:12
State
Definition: Constants.h:64