Deep RTS
AddUnit.h
Go to the documentation of this file.
1//
2// Created by per on 23.03.18.
3//
4
5#ifndef DEEPRTS_ADDUNIT_H
6#define DEEPRTS_ADDUNIT_H
7
8
9#include "StateChange.h"
10
11class Game;
13 int id;
14 int type;
15 int player_id;
16
17 AddUnit(int id, int type, int player_id): id(id), type(type), player_id(player_id){}
18
19
20 void apply(Game *game);
21
22 void apply_reverse(Game *game);
23};
24
25
26#endif //DEEPRTS_ADDUNIT_H
Definition: AddUnit.h:12
Definition: Game.h:23
Definition: StateChange.h:8