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