示例#1
0
        /// <summary>
        /// Updates the Game and the Mogre system.
        /// </summary>
        /// <param name="evt">The evt.</param>
        protected override void UpdateScene(Mogre.FrameEvent evt)
        {
            float f = evt.timeSinceLastFrame;

            myGame.Update(f);
            base.UpdateScene(evt);
        }
示例#2
0
 /// <summary>
 /// Updates all sounds controlled by the sound manager. See the wiki for info on useage.
 /// </summary>
 public bool FrameStarted(Mogre.FrameEvent evt)
 {
     this.Update();
     return(true);
 }
 public bool FrameStarted(Mogre.FrameEvent evt)
 {
     this.UpdateSoundObjects();
     return true;
 }