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

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