added elements in unit, map, game

This commit is contained in:
ProgramSnail 2021-04-12 01:51:12 +03:00
parent 220dd71d8f
commit 733bcbd99d
10 changed files with 116 additions and 16 deletions

View file

@ -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;
};
}