rts_game_backend/src/game/unit/unit.hpp
2021-04-11 20:14:23 +03:00

22 lines
416 B
C++

#include <vector>
#include "../game_map.hpp"
#include "unit_module.hpp"
#pragma once
namespace unit {
class Unit {
private:
// parts of unit, that do something
std::vector<Module> modules;
// memory, help modules communicate and handle events
std::vector<int> memory;
map::GameMap* map;
public:
Unit();
void update();
};
}