mirror of
https://github.com/ProgramSnail/rts_game_backend.git
synced 2026-01-12 06:27:16 +00:00
some improvements
This commit is contained in:
parent
4f2bfac443
commit
4406ca4167
5 changed files with 17 additions and 20 deletions
|
|
@ -1,9 +1,10 @@
|
|||
#pragma once
|
||||
|
||||
namespace map {
|
||||
// action, that takes place on map
|
||||
class Action {
|
||||
private:
|
||||
public:
|
||||
void update();
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue