Adds support for History data, allowing us to store specific interesting occurrences in the data flow, and recall them later.
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:
@@ -1,5 +1,6 @@
|
||||
#ifndef CREATURELIB_ATTACKUSEEVENT_HPP
|
||||
#define CREATURELIB_ATTACKUSEEVENT_HPP
|
||||
#include "../../Models/ExecutingAttack.hpp"
|
||||
#include "EventData.hpp"
|
||||
|
||||
namespace CreatureLib::Battling {
|
||||
|
||||
@@ -2,14 +2,9 @@
|
||||
#define CREATURELIB_EVENTDATA_HPP
|
||||
|
||||
#include <Arbutils/Memory/BorrowedPtr.hpp>
|
||||
#include "../../Models/CreatureIndex.hpp"
|
||||
#include "../../Models/DamageSource.hpp"
|
||||
#include "../EventDataKind.hpp"
|
||||
|
||||
namespace CreatureLib::Battling {
|
||||
// Predeclare some classes.
|
||||
class Creature;
|
||||
|
||||
class EventData {
|
||||
public:
|
||||
virtual ~EventData() = default;
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
#ifndef CREATURELIB_SWITCHEVENT_HPP
|
||||
#define CREATURELIB_SWITCHEVENT_HPP
|
||||
#include "../../Models/CreatureIndex.hpp"
|
||||
#include "EventData.hpp"
|
||||
|
||||
namespace CreatureLib::Battling {
|
||||
|
||||
Reference in New Issue
Block a user