#ifndef CREATURELIB_MISSEVENT_HPP #define CREATURELIB_MISSEVENT_HPP #include "EventData.hpp" namespace CreatureLib::Battling { class MissEvent final : public EventData { ArbUt::BorrowedPtr _creature; public: explicit MissEvent(const ArbUt::BorrowedPtr& creature) noexcept : _creature(creature) {} EventDataKind GetKind() const noexcept override { return EventDataKind ::Miss; } const ArbUt::BorrowedPtr& GetCreature() const noexcept { return _creature; } }; } #endif // CREATURELIB_MISSEVENT_HPP