satchigi
29-05-2011 00:47:42
Hello
I want to ask
Is there any method to update mPlayer(playercontroller's varible) without using customFrameListner.
My situation is, I'm using the framework that doesn't allow each state to inherit other class
and I should put everything inside 1h, 1cpp file for each states.
but all demos have file separatley and connecting them by using customframelistner like
That mFrameListner is from Examplleframelistner. and that source codes are inheriting "ExampleFrmaeListner.h"
There is no way to update mPlayer into mRoot without using ExmpleFrameListner?
I should intergrate evrerything without using customframelistner and inheriting otherclasses. inside 1h,1cpp file.
I want to ask
Is there any method to update mPlayer(playercontroller's varible) without using customFrameListner.
My situation is, I'm using the framework that doesn't allow each state to inherit other class
and I should put everything inside 1h, 1cpp file for each states.
but all demos have file separatley and connecting them by using customframelistner like
mFrameListener = new OgreNewtonFrameListener( mWindow, mCamera, mSceneMgr, m_World, mPlayer);
mRoot->addFrameListener(mFrameListener)
That mFrameListner is from Examplleframelistner. and that source codes are inheriting "ExampleFrmaeListner.h"
There is no way to update mPlayer into mRoot without using ExmpleFrameListner?
I should intergrate evrerything without using customframelistner and inheriting otherclasses. inside 1h,1cpp file.