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