rts_game_backend/src/game/map_entities/cell.hpp

25 lines
394 B
C++
Raw Normal View History

2021-03-24 20:31:44 +03:00
#pragma once
2021-03-22 19:37:34 +03:00
namespace map {
2021-04-12 01:51:12 +03:00
enum class CellType {
2021-03-22 19:37:34 +03:00
ctNone,
ctUnit,
ctWeapon,
ctForest,
ctMoutain
};
2021-04-11 12:45:39 +03:00
enum class CellPlayer {
2021-03-22 19:37:34 +03:00
cpNone,
cpPlayer0,
cpPlayer1,
cpPlayer2,
cpPlayer3
};
struct Cell {
2021-04-12 01:51:12 +03:00
CellType type = CellType::ctNone;
CellPlayer player = CellPlayer::cpNone;
2021-03-22 19:37:34 +03:00
};
2021-04-11 12:45:39 +03:00
}