Updated the supplier behavior to also use storage and implemented tower.
This commit is contained in:
24
douwco_hivemind/include/Structures/Tower.hpp
Normal file
24
douwco_hivemind/include/Structures/Tower.hpp
Normal file
@@ -0,0 +1,24 @@
|
||||
#ifndef DOUWCO_HIVEMIND_TOWER_HPP
|
||||
#define DOUWCO_HIVEMIND_TOWER_HPP
|
||||
|
||||
#include <Screeps/StructureTower.hpp>
|
||||
|
||||
#include "Structures/StructureBase.hpp"
|
||||
|
||||
namespace DouwcoHivemind
|
||||
{
|
||||
class Tower : public StructureBase
|
||||
{
|
||||
private:
|
||||
Screeps::StructureTower tower;
|
||||
|
||||
public:
|
||||
Tower(Screeps::StructureTower twr) : tower(twr),
|
||||
StructureBase() {}
|
||||
~Tower() {}
|
||||
|
||||
void loop() override;
|
||||
};
|
||||
}
|
||||
|
||||
#endif // DOUWCO_HIVEMIND_TOWER_HPP
|
||||
Reference in New Issue
Block a user