

Public Member Functions | |
| virtual void | RegisterMethods (lua_State *L) |
| called by Register(), registers object-methods (see cLuaBind constructor for examples) | |
| virtual const char * | GetLuaTypeName () |
Static Public Member Functions | |
| static int | Destroy (lua_State *L) |
| void Destroy () | |
| static int | GetInt (lua_State *L) |
| static int | GetFloat (lua_State *L) |
| void GetFloat () | |
| static int | CreateRandom (lua_State *L) |
| udata_rnd CreateRandom (iSeed) -- creates a new random number generater with the specified seed | |
Definition at line 18 of file lugre_random_L.cpp.
| virtual void Lugre::cRandom_L::RegisterMethods | ( | lua_State * | L | ) | [inline, virtual] |
called by Register(), registers object-methods (see cLuaBind constructor for examples)
Reimplemented from Lugre::cLuaBind< _T >.
Definition at line 20 of file lugre_random_L.cpp.
References CreateRandom(), Destroy(), GetFloat(), GetInt(), PROFILE, and REGISTER_METHOD.
| static int Lugre::cRandom_L::Destroy | ( | lua_State * | L | ) | [inline, static] |
void Destroy ()
Definition at line 34 of file lugre_random_L.cpp.
References Lugre::cLuaBind< _T >::checkudata_alive(), and PROFILE.
Referenced by RegisterMethods().
| static int Lugre::cRandom_L::GetInt | ( | lua_State * | L | ) | [inline, static] |
void GetInt (max) void GetInt (min,max)
Definition at line 38 of file lugre_random_L.cpp.
References Lugre::cLuaBind< _T >::checkudata_alive(), and PROFILE.
Referenced by RegisterMethods().
| static int Lugre::cRandom_L::GetFloat | ( | lua_State * | L | ) | [inline, static] |
void GetFloat ()
Definition at line 56 of file lugre_random_L.cpp.
References Lugre::cLuaBind< _T >::checkudata_alive(), and PROFILE.
Referenced by RegisterMethods().
| static int Lugre::cRandom_L::CreateRandom | ( | lua_State * | L | ) | [inline, static] |
udata_rnd CreateRandom (iSeed) -- creates a new random number generater with the specified seed
Definition at line 66 of file lugre_random_L.cpp.
References Lugre::cLuaBind< _T >::CreateUData(), and PROFILE.
Referenced by RegisterMethods().
| virtual const char* Lugre::cRandom_L::GetLuaTypeName | ( | ) | [inline, virtual] |
1.5.6