Last change
on this file since 8241 was
8061,
checked in by bensch, 19 years ago
|
merged the scriptengine back to the trunk
|
File size:
349 bytes
|
Line | |
---|
1 | #ifndef __THIS_H__ |
---|
2 | #define __THIS_H__ |
---|
3 | |
---|
4 | #include "VirtualMachine.h" |
---|
5 | |
---|
6 | // Sets the "this" global table that scripts use |
---|
7 | namespace OrxScript |
---|
8 | { |
---|
9 | |
---|
10 | class LuaThis |
---|
11 | { |
---|
12 | public: |
---|
13 | LuaThis (LuaVirtualMachine& vm, int iRef); |
---|
14 | virtual ~LuaThis (void); |
---|
15 | |
---|
16 | protected: |
---|
17 | int oldReference; |
---|
18 | LuaVirtualMachine& virtualMachine; |
---|
19 | }; |
---|
20 | } |
---|
21 | #endif // __THIS_H__ |
---|
Note: See
TracBrowser
for help on using the repository browser.