Skip to content
Snippets Groups Projects
Commit d2586837 authored by Keegan Fernandes's avatar Keegan Fernandes
Browse files

Adding post code UML

parent dd7e0006
No related branches found
No related tags found
No related merge requests found
...@@ -30,7 +30,7 @@ public class Movement { ...@@ -30,7 +30,7 @@ public class Movement {
int diceResult = roll1 + roll2; int diceResult = roll1 + roll2;
System.out.println("You rolled " + diceResult); System.out.println("You rolled " + diceResult);
// Get current player position // Get current player position.
int currentPosition = player.getPosition(); int currentPosition = player.getPosition();
// Calculate new position on the game board based on dice result // Calculate new position on the game board based on dice result
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment