Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/script/src/orxonox/script/Script.h @ 954

Last change on this file since 954 was 954, checked in by bknecht, 16 years ago

lua linking works now (v 5.1 and 5.0). not tested on tardis and will not work on windows

File size: 384 bytes
Line 
1/**
2 @file  script.h
3 @brief Representation of a lua script
4 @author Benjamin Knecht <beni_at_orxonox.net>
5 */
6
7#ifndef _Script_H__
8#define _Script_H__
9
10extern "C" {
11#include "lua.h"
12}
13
14namespace orxonox
15{
16
17  class Script
18  {
19    Script();
20    ~Script();
21
22    inline lua_State* getLuaState() { return state_; };
23
24    private:
25      lua_State* state_;
26
27  };
28}
29#endif /* _Script_H__ */
Note: See TracBrowser for help on using the repository browser.