Added HasVolatileScript function to Creature and Battle.
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2020-02-23 16:17:57 +01:00
parent 4728be18b2
commit 3802587313
5 changed files with 9 additions and 0 deletions

View File

@@ -80,6 +80,7 @@ namespace CreatureLib::Battling {
void AddVolatileScript(Script* script);
void RemoveVolatileScript(const std::string& name);
void RemoveVolatileScript(Script* script);
void HasVolatileScript(const std::string& name) const;
void RegisterEventListener(EVENT_HOOK_FUNC(listener)) { this->_eventHook.RegisterListener(listener); }
void TriggerEventListener(EventData* data) { this->_eventHook.TriggerEvent(data); }