added the maintainer and changed some naming.

This commit is contained in:
douwe
2025-08-26 16:34:49 +02:00
parent 0c693354e6
commit eea9e7d69f
24 changed files with 328 additions and 164 deletions

View File

@@ -0,0 +1,29 @@
#ifndef DOUWCO_HIVEMIND_HARVESTER_HPP
#define DOUWCO_HIVEMIND_HARVESTER_HPP
#include "Creeps/CreepBase.hpp"
namespace DouwcoHivemind
{
class Worker : public CreepBase
{
private:
bool harvesting;
public:
Worker(Screeps::Creep crp);
~Worker() override;
void loop() override;
protected:
virtual void depositEnergy(){}
private:
void harvestSource();
std::unique_ptr<Screeps::Source> getSourceTarget();
void searchSource();
};
}
#endif // DOUWCO_HIVEMIND_HARVESTER_HPP