   Ogre FrameListener
  I'm having trouble with creating a derived framelistener with Ogre/C++. Whenever I try to override the default frameStarted function with code like this.class RobotListener: public Ogre::FrameListener{public:RobotListener();Object Object1;bool frameStarted(const FrameEvent &evt);};bool RobotListener::frameStarted(const FrameEvent &evt);{Object1->ObjectMove(); return RobotListener::frameStarted(evt);}I keep getting error C4430: missing type specifier - int assumed. errors for each chunk of code...How can this be fixed?   
  Object1 is not a pointer, so this:Object1->ObjectMove();should be changed to:Object1.ObjectMove();Also, at this line:return RobotListener::frameStarted(evt);What function are you trying to call? If you're trying to call the base class version, it should be:return Ogre::FrameListener::frameStarted(evt);   