28 lines
562 B
C++
28 lines
562 B
C++
#ifndef DOUWCO_HIVEMIND_ENGINE_HPP
|
|
#define DOUWCO_HIVEMIND_ENGINE_HPP
|
|
|
|
#include <vector>
|
|
|
|
#include "Creeps/CreepBase.hpp"
|
|
#include "Structures/StructureBase.hpp"
|
|
|
|
namespace DouwcoHivemind
|
|
{
|
|
class Engine
|
|
{
|
|
private:
|
|
std::vector<std::unique_ptr<CreepBase>> creeps;
|
|
std::vector<std::unique_ptr<StructureBase>> structures;
|
|
|
|
public:
|
|
Engine();
|
|
void loop();
|
|
|
|
private:
|
|
void ReadOutCreeps();
|
|
void ReadOutStructures();
|
|
void clearDeadCreepMemory();
|
|
};
|
|
}
|
|
|
|
#endif // DOUWCO_HIVEMIND_ENGINE_HPP
|