Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/bsp_model/src/lib/script_engine/OLD/This.h @ 8433

Last change on this file since 8433 was 8061, checked in by bensch, 18 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
7namespace 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.