Cleaned up Events, added events on species and variant changes.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
This commit is contained in:
20
src/Battling/EventHooks/Events/TurnEvents.hpp
Normal file
20
src/Battling/EventHooks/Events/TurnEvents.hpp
Normal file
@@ -0,0 +1,20 @@
|
||||
#ifndef CREATURELIB_TURNEVENTS_HPP
|
||||
#define CREATURELIB_TURNEVENTS_HPP
|
||||
#include "EventData.hpp"
|
||||
|
||||
namespace CreatureLib::Battling {
|
||||
class TurnStartEvent : public EventData {
|
||||
public:
|
||||
TurnStartEvent() {}
|
||||
EventDataKind GetKind() const noexcept override { return EventDataKind ::TurnStart; }
|
||||
};
|
||||
|
||||
class TurnEndEvent : public EventData {
|
||||
public:
|
||||
TurnEndEvent() {}
|
||||
EventDataKind GetKind() const noexcept override { return EventDataKind ::TurnEnd; }
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif // CREATURELIB_TURNEVENTS_HPP
|
||||
Reference in New Issue
Block a user