mirror of
https://github.com/ProgramSnail/rts_game_backend.git
synced 2026-01-12 06:27:16 +00:00
develop classes
This commit is contained in:
parent
9be0f50790
commit
580ef8ac3c
15 changed files with 62 additions and 22 deletions
|
|
@ -0,0 +1,19 @@
|
|||
#include <vector>
|
||||
#include "map_entities/cell.hpp"
|
||||
#include "map_entities/action.hpp"
|
||||
#include "map_entities/unit_obj.hpp"
|
||||
|
||||
#pragma once
|
||||
|
||||
namespace map {
|
||||
class GameMap {
|
||||
private:
|
||||
std::vector<std::vector<Cell> > cells;
|
||||
std::vector<Action*> actions;
|
||||
std::vector<UnitObj> units;
|
||||
public:
|
||||
GameMap() {
|
||||
|
||||
}
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue