Skip to content

Commit

Permalink
Remove "code smell" comment
Browse files Browse the repository at this point in the history
  • Loading branch information
valkyrienyanko committed Mar 10, 2023
1 parent d2bac3b commit 48d6a30
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Scripts/Entities/MovingEntity.cs
Original file line number Diff line number Diff line change
Expand Up @@ -261,10 +261,7 @@ public virtual void RemoveHealth(int v)
Velocity = new Vector2(-MoveDir.X * DamageTakenForce, -DamageTakenForce);
}

protected virtual void OnJump() // code smell?
{
Jump?.Invoke();
}
protected virtual void OnJump() => Jump?.Invoke();

private void OnImmunityTimerFinished()
{
Expand Down

0 comments on commit 48d6a30

Please sign in to comment.