#ifndef DOUWCO_HIVEMIND_ENGINE_HPP #define DOUWCO_HIVEMIND_ENGINE_HPP #include #include "Creeps/CreepBase.hpp" #include "Room.hpp" #include "Structures/StructureBase.hpp" namespace DouwcoHivemind { class Engine { private: std::vector> rooms; std::vector> creeps; std::vector> structures; public: // Readout data from screeps API into C++ vectors Engine(); // Loop over all rooms, screeps and structures void loop(); private: // Readout player owned rooms void ReadOutRooms(); // Readout player owned screeps and assign their roles void ReadOutCreeps(); // Readout player owned buildings based on their structure type void ReadOutStructures(); // Clear dead screep memory void clearDeadCreepMemory(); }; } #endif // DOUWCO_HIVEMIND_ENGINE_HPP