mirror of
https://github.com/UltraCoderRU/screepsxx.git
synced 2026-01-28 01:55:12 +00:00
Add findConstant to Screeps::Source class.
This commit is contained in:
parent
92111aadac
commit
b249748d28
1 changed files with 3 additions and 0 deletions
|
|
@ -1,6 +1,7 @@
|
|||
#ifndef SCREEPS_SOURCE_HPP
|
||||
#define SCREEPS_SOURCE_HPP
|
||||
|
||||
#include "Constants.hpp"
|
||||
#include "RoomObject.hpp"
|
||||
|
||||
namespace Screeps {
|
||||
|
|
@ -17,6 +18,8 @@ public:
|
|||
std::string id() const;
|
||||
|
||||
int ticksToLive() const;
|
||||
|
||||
static const int findConstant = Screeps::FIND_SOURCES;
|
||||
};
|
||||
|
||||
} // namespace Screeps
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue