Archived
1
Fork 0
This repository has been archived on 2025-04-12. You can view files and clone it, but cannot push or open issues or pull requests.
graphite/engine/core/include/scriptsystem.hpp
2024-01-03 16:05:02 -05:00

23 lines
No EOL
385 B
C++

#pragma once
#include <string>
#include <system.hpp>
#include <angelscript.h>
class Entity;
class ScriptSystem : public System
{
public:
void Initialize() override;
void Cleanup() override;
void Update() override;
private:
void RunFunction(const std::string& name, const std::string& module_name);
Entity* GetEntity();
asIScriptEngine* m_scriptEngine;
};