5 #include <unordered_map>
22 void addScript(std::shared_ptr<GamePlayScript> script);
33 void registerScriptable(
Scriptable* scriptable);
36 void unregisterScriptable(
Scriptable* scriptable);
42 bool keyValid(
int key)
const;
44 void update(
float deltaSec);
50 std::list<std::shared_ptr<GamePlayScript>> m_scripts;
51 std::unordered_map<int, Scriptable*> m_scriptables;
58 void performRemovals();
62 #include "scriptengine.inl"
Definition: gameplayscript.h:17
Definition: scriptengine.h:17
Definition: scriptable.h:4