29 std::chrono::time_point<std::chrono::system_clock> shoot_time;
void doCollision(Object *other, ServerGameState &state) override
Code to run when this object collides with another.
Definition: lava.cpp:22
static const int DAMAGE
Definition: lava.hpp:12
virtual SharedObject toShared() override
Generates a SharedObject representation of this object.
Definition: lava.cpp:33
bool shouldReset(ServerGameState &state) override
Definition: lava.cpp:18
bool shouldTrigger(ServerGameState &state) override
Definition: lava.cpp:14
Definition: object.hpp:95
The ServerGameState class contains all abstract game state data and logic for a single game state ins...
Definition: servergamestate.hpp:43
Representation of the Object class used by ServerGameState, containing exactly the subset of Object d...
Definition: sharedobject.hpp:302
ModelType
Enumeration of every render model in the game.
Definition: sharedmodel.hpp:6
Definition: point_light.hpp:5