couch/core/Scripting/ScriptingLanguage.h
2021-01-20 21:42:14 -06:00

19 lines
424 B
C++

#ifndef SCRIPTINGLANGUAGE_H
#define SCRIPTINGLANGUAGE_H
#include "types.h"
class ScriptingLanguage {
public:
virtual void Initialize() = 0;
virtual void Update(double delta) = 0;
virtual void Close() = 0;
virtual void Error() = 0;
virtual bool HasHook(const char * name) = 0;
static ScriptingLanguage *GetCurrentLanguage();
protected:
static ScriptingLanguage *language;
};
#endif /* SCRIPTINGLANGUAGE_H */