Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private void Move(int numberOfSquares) {
- for (int i = 0; i < numberOfSquares; i++) {
- if (Location.NextSquare == null) {
- location = this.Location;
- } else {
- location = location.NextSquare;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement