30 lines
588 B
C++
30 lines
588 B
C++
|
#ifndef CREATURELIB_SCRIPTRESOLVER_HPP
|
||
|
#define CREATURELIB_SCRIPTRESOLVER_HPP
|
||
|
|
||
|
#include <string>
|
||
|
#include "Script.hpp"
|
||
|
|
||
|
namespace CreatureLib::Battling{
|
||
|
class ScriptResolver {
|
||
|
public:
|
||
|
virtual ~ScriptResolver() = default;
|
||
|
|
||
|
enum class ScriptCategory{
|
||
|
Attack,
|
||
|
Talent,
|
||
|
Status,
|
||
|
Creature,
|
||
|
Battle,
|
||
|
Side,
|
||
|
|
||
|
};
|
||
|
|
||
|
virtual Script* LoadScript(ScriptCategory category, const std::string& scriptName){
|
||
|
return nullptr;
|
||
|
};
|
||
|
};
|
||
|
}
|
||
|
|
||
|
|
||
|
#endif //CREATURELIB_SCRIPTRESOLVER_HPP
|