-
-
Save jhmckimm/2d3897905b612340d6749dadf2f0dc57 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Unit | |
{ | |
private Vector2 position; | |
public Vector2 Position | |
{ | |
get | |
{ | |
return new Vector2(this.position); | |
} | |
} | |
public Unit() | |
{ | |
this.position = new Vector2(0, 0); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment