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