/// <summary> /// Updates the creature's animation based on its current state. /// </summary> public void UpdateAnimation(DwarfTime gameTime, ChunkManager chunks, Camera camera) { if (CurrentCharacterMode == Stats.CurrentClass.AttackMode) { return; } Physics.Velocity = MathFunctions.ClampXZ(Physics.Velocity, Stats.MaxSpeed); }