mirror of
https://github.com/UltraCoderRU/screepsxx.git
synced 2026-01-28 01:55:12 +00:00
Completed StructureController, StructureExtension, StructureRampart, StructureRoad, StructureSpawn classes.
16 lines
270 B
C++
16 lines
270 B
C++
#include "StructureExtension.hpp"
|
|
|
|
#include "Store.hpp"
|
|
|
|
namespace Screeps {
|
|
|
|
StructureExtension::StructureExtension(JS::Value value) : Structure(std::move(value))
|
|
{
|
|
}
|
|
|
|
Store StructureExtension::store() const
|
|
{
|
|
return Store(value()["store"]);
|
|
}
|
|
|
|
} // namespace Screeps
|