mirror of
https://github.com/ProgramSnail/rts_game_backend.git
synced 2026-01-11 22:17:15 +00:00
some additional functions
This commit is contained in:
parent
8553878b4a
commit
5173f4f2a9
23 changed files with 214 additions and 24 deletions
|
|
@ -0,0 +1,24 @@
|
|||
#pragma ONCE
|
||||
|
||||
namespace map {
|
||||
enum CellType { // needed to choose final types
|
||||
ctNone,
|
||||
ctUnit,
|
||||
ctWeapon,
|
||||
ctForest,
|
||||
ctMoutain
|
||||
};
|
||||
|
||||
enum CellPlayer {
|
||||
cpNone,
|
||||
cpPlayer0,
|
||||
cpPlayer1,
|
||||
cpPlayer2,
|
||||
cpPlayer3
|
||||
};
|
||||
|
||||
struct Cell {
|
||||
CellType type;
|
||||
// int ??speed??; // speed when move inside
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue