mirror of
https://github.com/ProgramSnail/rts_game_backend.git
synced 2026-01-11 22:17:15 +00:00
added elements in unit, map, game
This commit is contained in:
parent
220dd71d8f
commit
733bcbd99d
10 changed files with 116 additions and 16 deletions
|
|
@ -1,7 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
namespace map {
|
||||
enum class CellType { // needed to choose final types
|
||||
enum class CellType {
|
||||
ctNone,
|
||||
ctUnit,
|
||||
ctWeapon,
|
||||
|
|
@ -18,7 +18,7 @@ namespace map {
|
|||
};
|
||||
|
||||
struct Cell {
|
||||
CellType type;
|
||||
// int ??speed??; // speed when move inside
|
||||
CellType type = CellType::ctNone;
|
||||
CellPlayer player = CellPlayer::cpNone;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue