public void Update(GameTime gameTime) { _animator.Update(gameTime); IsOnGround = false; if (State == ZombieState.Walking && Math.Abs(Velocity.X) < 0.1f) { State = ZombieState.Idle; } }
public override void Update(GameTime gameTime) { _animator.Update(gameTime); }