some improvements

This commit is contained in:
ProgramSnail 2021-04-11 12:45:39 +03:00
parent 4f2bfac443
commit 4406ca4167
5 changed files with 17 additions and 20 deletions

View file

@ -1,7 +1,7 @@
#pragma once
namespace map {
enum CellType { // needed to choose final types
enum class CellType { // needed to choose final types
ctNone,
ctUnit,
ctWeapon,
@ -9,7 +9,7 @@ namespace map {
ctMoutain
};
enum CellPlayer {
enum class CellPlayer {
cpNone,
cpPlayer0,
cpPlayer1,
@ -21,4 +21,4 @@ namespace map {
CellType type;
// int ??speed??; // speed when move inside
};
}
}