Add findConstant to Screeps::Source class.

This commit is contained in:
Kirill Kirilenko 2021-07-08 19:21:25 +03:00
parent 92111aadac
commit b249748d28

View file

@ -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