bit of playing around on Linux

This commit is contained in:
Hartmut Seichter 2017-06-29 14:00:03 +02:00
parent ac18a84a9c
commit 6461a56e17
11 changed files with 96 additions and 102 deletions

29
src/core/script.hpp Normal file
View file

@ -0,0 +1,29 @@
#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