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