Esempio n. 1
0
        public override void Update(GameTime gameTime, GameEngine.TeeEngine engine)
        {
            if (CurrentDrawableState.Contains("Spin"))
            {
            }

            base.Update(gameTime, engine);
        }
Esempio n. 2
0
 public void Spin(GameTime gameTime)
 {
     if (CurrentDrawableState.Contains("Idle"))
     {
         // Reset the animations
         Drawables.ResetGroup("Body", gameTime);
         CurrentDrawableState = "Spin_" + Direction;
     }
 }