#pragma once
#include "System.h"
#include "src/Core/MulticastDelegate.h"

namespace Nuake {
	class Scene;

	class ScriptingSystem : public System 
	{
	public:
		ScriptingSystem(Scene* scene);
		bool Init() override;
		void Update(Timestep ts) override;
		void Draw() override {}
		void FixedUpdate(Timestep ts) override;
		void Exit() override;

		void InitializeNewScripts();

	private:
		void DispatchPhysicCallbacks();
	};
}
