mirror of
https://github.com/UltraCoderRU/screepsxx.git
synced 2026-01-28 01:55:12 +00:00
24 lines
343 B
C++
24 lines
343 B
C++
#ifndef SCREEPS_SOURCE_HPP
|
|
#define SCREEPS_SOURCE_HPP
|
|
|
|
#include "RoomObject.hpp"
|
|
|
|
namespace Screeps {
|
|
|
|
class Source : public RoomObject
|
|
{
|
|
public:
|
|
explicit Source(JS::Value value);
|
|
|
|
int energy() const;
|
|
|
|
int energyCapacity() const;
|
|
|
|
std::string id() const;
|
|
|
|
int ticksToLive() const;
|
|
};
|
|
|
|
} // namespace Screeps
|
|
|
|
#endif // SCREEPS_SOURCE_HPP
|