maroxe
01-09-2008 17:36:28
Hi,
i'm trying to make my character visible, i have to ways to do that:
i'm trying to make my character visible, i have to ways to do that:
- *inherting from Character and RenderableSource Classes like NxOgre::Body
*class Player{
[/list:u]
/***/
protected:
Character* character;
RenderableSource* renderableSource;
/**/
};
with the first method, i can't call the Scene::CreateCharacterMethod, because it returns a Character* , and i don't know how to initialise only the base class part of a derived class (is it possible in C++ ?)
with the second method, i can't have acces to protected memeber