Last change
on this file since 946 was
946,
checked in by bknecht, 16 years ago
|
trying to link lua into the project and start with creating an interface to lua. still does not compile. stupid cmake
|
File size:
369 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 | |
---|
10 | #include <lua.h> |
---|
11 | |
---|
12 | namespace orxonox |
---|
13 | { |
---|
14 | |
---|
15 | class Script |
---|
16 | { |
---|
17 | Script(); |
---|
18 | ~Script(); |
---|
19 | |
---|
20 | inline lua_State* getLuaState() { return state_; }; |
---|
21 | |
---|
22 | private: |
---|
23 | lua_State* state_; |
---|
24 | |
---|
25 | }; |
---|
26 | } |
---|
27 | #endif /* _Script_H__ */ |
---|
Note: See
TracBrowser
for help on using the repository browser.