2019-11-18 07:29:17 +00:00
|
|
|
#ifndef CREATURELIB_SCRIPTRESOLVER_HPP
|
|
|
|
#define CREATURELIB_SCRIPTRESOLVER_HPP
|
|
|
|
|
2020-02-26 12:51:16 +00:00
|
|
|
#include <Arbutils/Enum.hpp>
|
2019-11-18 07:29:17 +00:00
|
|
|
#include <string>
|
|
|
|
#include "Script.hpp"
|
2020-02-20 12:05:15 +00:00
|
|
|
#include "ScriptCategory.hpp"
|
2019-11-18 07:29:17 +00:00
|
|
|
|
2019-11-28 11:55:22 +00:00
|
|
|
namespace CreatureLib::Battling {
|
2020-01-11 10:35:59 +00:00
|
|
|
class BattleLibrary;
|
|
|
|
|
2019-11-18 07:29:17 +00:00
|
|
|
class ScriptResolver {
|
|
|
|
public:
|
|
|
|
virtual ~ScriptResolver() = default;
|
|
|
|
|
2020-01-11 10:35:59 +00:00
|
|
|
virtual void Initialize(BattleLibrary* library){};
|
2020-05-26 16:31:06 +00:00
|
|
|
virtual Script* LoadScript(ScriptCategory category, const ArbUt::CaseInsensitiveConstString& scriptName) const {
|
|
|
|
return nullptr;
|
|
|
|
};
|
2019-11-18 07:29:17 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
2019-11-28 11:55:22 +00:00
|
|
|
#endif // CREATURELIB_SCRIPTRESOLVER_HPP
|