Miner not working properly but implementation is close.
This commit is contained in:
26
douwco_hivemind/include/Entity/Room.hpp
Normal file
26
douwco_hivemind/include/Entity/Room.hpp
Normal file
@@ -0,0 +1,26 @@
|
||||
#ifndef DOUWCO_HIVEMIND_ROOM_HPP
|
||||
#define DOUWCO_HIVEMIND_ROOM_HPP
|
||||
|
||||
#include <Screeps/Room.hpp>
|
||||
#include <vector>
|
||||
|
||||
namespace DouwcoHivemind {
|
||||
class Room {
|
||||
|
||||
protected:
|
||||
Screeps::Room room;
|
||||
JSON memory;
|
||||
std::vector<std::string> sourceContainers = {};
|
||||
|
||||
public:
|
||||
Room(Screeps::Room rm);
|
||||
~Room();
|
||||
|
||||
void loop();
|
||||
|
||||
protected:
|
||||
bool placeContainers();
|
||||
};
|
||||
} // namespace DouwcoHivemind
|
||||
|
||||
#endif // DOUWCO_HIVEMIND_ROOM_HPP
|
||||
Reference in New Issue
Block a user