Files
CreatureLib/src/Battling/EventHooks/Events/TurnEvents.hpp
Deukhoofd de8b5de7b4
All checks were successful
continuous-integration/drone/push Build is passing
Mark several classes as final for devirtualization performance benefits.
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
2020-10-15 18:21:50 +02:00

21 lines
552 B
C++

#ifndef CREATURELIB_TURNEVENTS_HPP
#define CREATURELIB_TURNEVENTS_HPP
#include "EventData.hpp"
namespace CreatureLib::Battling {
class TurnStartEvent final : public EventData {
public:
TurnStartEvent() {}
EventDataKind GetKind() const noexcept override { return EventDataKind ::TurnStart; }
};
class TurnEndEvent final : public EventData {
public:
TurnEndEvent() {}
EventDataKind GetKind() const noexcept override { return EventDataKind ::TurnEnd; }
};
}
#endif // CREATURELIB_TURNEVENTS_HPP