couch/core/Scripting/ScriptingLanguage.h

18 lines
399 B
C
Raw Permalink Normal View History

2021-01-14 11:52:01 -06:00
#ifndef SCRIPTINGLANGUAGE_H
#define SCRIPTINGLANGUAGE_H
2021-01-26 16:42:28 -06:00
#include "../types.h"
2021-01-20 21:42:14 -06:00
class ScriptingLanguage {
public:
virtual void Initialize() = 0;
virtual void Update(double delta) = 0;
virtual void Close() = 0;
2021-01-20 21:42:14 -06:00
virtual bool HasHook(const char * name) = 0;
static ScriptingLanguage *GetCurrentLanguage();
protected:
static ScriptingLanguage *language;
};
2021-01-14 11:52:01 -06:00
#endif /* SCRIPTINGLANGUAGE_H */