rts_game_backend/src/game/unit/unit.hpp

19 lines
329 B
C++
Raw Normal View History

2021-03-22 19:37:34 +03:00
#include <vector>
2021-03-24 20:31:44 +03:00
#include "../game_map.hpp"
2021-03-22 19:37:34 +03:00
#include "unit_module.hpp"
#include "unit_memory_elem.hpp"
2021-03-24 20:31:44 +03:00
#pragma once
2021-03-22 19:37:34 +03:00
namespace unit {
class Unit {
private:
std::vector<Module> modules;
std::vector<MemoryElem> memory;
2021-03-24 20:31:44 +03:00
map::GameMap map;
2021-03-22 19:37:34 +03:00
public:
Unit();
2021-03-24 20:31:44 +03:00
void update();
2021-03-22 19:37:34 +03:00
};
}