initial commit
This commit is contained in:
commit
b6c60365ab
67 changed files with 17447 additions and 0 deletions
25
src/logic/logic.hpp
Normal file
25
src/logic/logic.hpp
Normal file
|
@ -0,0 +1,25 @@
|
|||
#pragma once
|
||||
|
||||
#include "wren/include/wren.hpp"
|
||||
|
||||
class Engine;
|
||||
|
||||
struct BundleData {
|
||||
Engine *engine = nullptr;
|
||||
};
|
||||
|
||||
class Logic {
|
||||
public:
|
||||
Logic(Engine *engine);
|
||||
~Logic();
|
||||
|
||||
static WrenForeignMethodFn
|
||||
bindForeignMethod(WrenVM *vm, const char *module, const char *className, bool isStatic, const char *signature);
|
||||
void interpret();
|
||||
|
||||
void add_item();
|
||||
|
||||
private:
|
||||
BundleData _bundleData;
|
||||
WrenVM *_wrenVm = nullptr;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue