mirror of
https://github.com/ProgramSnail/rts_game_backend.git
synced 2026-01-06 00:38:14 +00:00
develop classes
This commit is contained in:
parent
9be0f50790
commit
580ef8ac3c
15 changed files with 62 additions and 22 deletions
|
|
@ -1,15 +1,19 @@
|
|||
#include <vector>
|
||||
#include "../game_map.hpp"
|
||||
#include "unit_module.hpp"
|
||||
#include "unit_memory_elem.hpp"
|
||||
|
||||
#pragma ONCE
|
||||
#pragma once
|
||||
|
||||
namespace unit {
|
||||
class Unit {
|
||||
private:
|
||||
std::vector<Module> modules;
|
||||
std::vector<MemoryElem> memory;
|
||||
map::GameMap map;
|
||||
public:
|
||||
Unit();
|
||||
|
||||
void update();
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue