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

@ -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();
};
}
}