pixwerx/src/core/script.hpp

30 lines
261 B
C++
Raw Normal View History

2017-06-29 14:00:03 +02:00
#ifndef PW_SCRIPT_HPP
#define PW_SCRIPT_HPP
#include <lua.hpp>
#include <memory>
#include <sol.hpp>
namespace pw {
class script {
sol::state _lua;
public:
script();
~script();
bool update();
void run(const char* s);
};
}
#endif