#ifndef FAILEVENT_HPP #define FAILEVENT_HPP #include "EventData.hpp" namespace CreatureLib::Battling { class FailEvent final : public EventData { ArbUt::BorrowedPtr _creature; public: FailEvent(ArbUt::BorrowedPtr c) noexcept : _creature(c) {} EventDataKind GetKind() const noexcept override { return EventDataKind ::Faint; } const ArbUt::BorrowedPtr& GetCreature() const noexcept { return _creature; } }; } #endif // FAILEVENT_HPP