Building Room based placement system.

This commit is contained in:
2026-06-18 01:12:09 +02:00
parent 2332978ab7
commit fe039cbdcf
4 changed files with 167 additions and 87 deletions

View File

@@ -0,0 +1,31 @@
#ifndef DOUWCO_HIVEMIND_ROOM_HPP
#define DOUWCO_HIVEMIND_ROOM_HPP
#include <Screeps/Room.hpp>
namespace DouwcoHivemind {
class Room {
protected:
enum ProgressState {
PLANNED,
IN_PROGRESS,
FINISHED
};
Screeps::Room room;
JSON memory;
ProgressState _sourceContainerState;
public:
Room(Screeps::Room rm);
~Room();
void loop();
protected:
bool assignConstructionSites();
};
} // namespace DouwcoHivemind
#endif // DOUWCO_HIVEMIND_ROOM_HPP