40 std::chrono::time_point<std::chrono::system_clock> shoot_time;
Definition: arrowtrap.hpp:20
void trigger(ServerGameState &state) override
Definition: arrowtrap.cpp:72
bool shouldReset(ServerGameState &state) override
Definition: arrowtrap.cpp:111
static const float SIGHTLINE_M
Definition: arrowtrap.hpp:30
bool shouldTrigger(ServerGameState &state) override
Definition: arrowtrap.cpp:35
void reset(ServerGameState &state) override
Definition: arrowtrap.cpp:116
static const std::chrono::seconds TIME_UNTIL_RESET
how long from initial activation until it can activate again
Definition: arrowtrap.hpp:29
The ServerGameState class contains all abstract game state data and logic for a single game state ins...
Definition: servergamestate.hpp:43
GLfloat s
Definition: glad.h:3132
Direction
Definition: object.hpp:198