lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Im planning to write a MMO framework and I would like to make it as flexible as possible. I would like to handle some entities attributes (like coordinates, name, id) in the C core and higher level attributes (stats, skills) in lua. Is it possible to inherit from C++ classes, or in some way extend such classes, passed to lua script by tolua++ generated code and modify the base instance values?

--
http://dsgp.blogspot.com | Linux, programación, juegos
Have no place I can be since I found Serenity
But you can’t take the sky from me

		
______________________________________________ LLama Gratis a cualquier PC del Mundo. Llamadas a fijos y móviles desde 1 céntimo por minuto. http://es.voice.yahoo.com