Created a base engine class and let it handle all creeps.

This commit is contained in:
douwe
2025-08-21 14:13:32 +02:00
parent c9ce09ba1a
commit 1e9e696b1e
16 changed files with 221 additions and 91 deletions

View File

@@ -0,0 +1,20 @@
#ifndef DOUWCO_HIVEMIND_SPAWN_HPP
#define DOUWCO_HIVEMIND_SPAWN_HPP
#include <Screeps/StructureSpawn.hpp>
namespace DouwcoHivemind
{
class Spawn
{
private:
Screeps::StructureSpawn *structure;
public:
Spawn(Screeps::StructureSpawn *structure_pntr) { structure = structure_pntr; }
~Spawn() {}
void process();
};
}
#endif // DOUWCO_HIVEMIND_SPAWN_HPP

View File