summaryrefslogtreecommitdiffstats
path: root/source/cPlugin_NewLua.h
blob: 41886587959bf32c6013f06e282b7b5da2b6b34a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#pragma once

#include "cPlugin.h"
#include <string>

typedef struct lua_State lua_State;

class cPlugin_NewLua : public cPlugin			//tolua_export
{												//tolua_export
public:											//tolua_export
	cPlugin_NewLua( const char* a_PluginName );
	~cPlugin_NewLua();

	virtual bool Initialize();					//tolua_export
	virtual void Tick(float a_Dt);				//tolua_export

private:
	std::string m_Directory;
	lua_State* m_LuaState;
};//tolua_export