mirror of
https://github.com/ProgramSnail/rts_game_backend.git
synced 2026-01-03 15:28:14 +00:00
some improvements
This commit is contained in:
parent
4f2bfac443
commit
4406ca4167
5 changed files with 17 additions and 20 deletions
|
|
@ -8,12 +8,16 @@
|
|||
namespace unit {
|
||||
class Unit {
|
||||
private:
|
||||
// parts of unit, that do something
|
||||
std::vector<Module> modules;
|
||||
std::vector<MemoryElem> memory;
|
||||
map::GameMap map;
|
||||
|
||||
// memory, help modules communicate and handle events
|
||||
std::vector<int> memory;
|
||||
|
||||
map::GameMap* map;
|
||||
public:
|
||||
Unit();
|
||||
|
||||
void update();
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue