mirror of
https://github.com/UltraCoderRU/screepsxx.git
synced 2026-01-28 18:15:12 +00:00
Completed StructureController, StructureExtension, StructureRampart, StructureRoad, StructureSpawn classes.
22 lines
332 B
C++
22 lines
332 B
C++
#ifndef SCREEPS_RESOURCE_HPP
|
|
#define SCREEPS_RESOURCE_HPP
|
|
|
|
#include "RoomObject.hpp"
|
|
|
|
namespace Screeps {
|
|
|
|
class Resource : public RoomObject
|
|
{
|
|
public:
|
|
explicit Resource(JS::Value value);
|
|
|
|
int amount() const;
|
|
|
|
std::string id() const;
|
|
|
|
std::string resourceType() const;
|
|
};
|
|
|
|
} // namespace Screeps
|
|
|
|
#endif // SCREEPS_RESOURCE_HPP
|