Skip to content

Commit

Permalink
why haven't I tostringed intvector2 yet
Browse files Browse the repository at this point in the history
  • Loading branch information
Nixill committed Dec 21, 2024
1 parent 88b436c commit e4b725b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CSharp.Nixill/src/Objects/IntVector2.cs
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,12 @@ public static implicit operator
/// <returns>The rotated IntVector2.</returns>
public IntVector2 RotateRight(int times) => RotateLeft(-times);

/// <inheritdoc/>
public override string ToString()
{
return $"(X: {X}, Y: {Y})";
}

/// <summary>
/// Read-only: The IntVector2 <c>(0, -1)</c>, representing up.
/// </summary>
Expand Down

0 comments on commit e4b725b

Please sign in to comment.