Browse Source

pulled Nicks changes

Jonathan Hinds 6 years ago
parent
commit
70896e6745
1 changed files with 7 additions and 1 deletions
  1. 7
    1
      src/main/java/io/zipcoder/casino/Dice.java

+ 7
- 1
src/main/java/io/zipcoder/casino/Dice.java View File

1
 package io.zipcoder.casino;
1
 package io.zipcoder.casino;
2
 
2
 
3
 public class Dice {
3
 public class Dice {
4
-    private int sides;
5
     private int value;
4
     private int value;
6
 
5
 
7
     public void Roll(){
6
     public void Roll(){
8
 
7
 
8
+        //Generate a random number between 1 and 6
9
+        //set value equal to this number
10
+
11
+    }
12
+
13
+    public int getValue() {
14
+        return value;
9
     }
15
     }
10
 }
16
 }