mirror of
https://github.com/UltraCoderRU/screepsxx.git
synced 2026-01-28 01:55:12 +00:00
26 lines
481 B
C++
26 lines
481 B
C++
#ifndef SPAWN_HPP
|
|
#define SPAWN_HPP
|
|
|
|
#include "OwnedStructure.hpp"
|
|
|
|
namespace Screeps {
|
|
|
|
class Store;
|
|
|
|
class StructureSpawn : public OwnedStructure
|
|
{
|
|
public:
|
|
explicit StructureSpawn(JS::Value obj);
|
|
|
|
Store store() const;
|
|
|
|
std::string name() const;
|
|
|
|
|
|
int spawnCreep(const std::vector<std::string>& body, const std::string& name);
|
|
int spawnCreep(const std::vector<std::string>& body, const std::string& name, const JSON& options);
|
|
};
|
|
|
|
} // namespace Screeps
|
|
|
|
#endif // SPAWN_HPP
|