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