浏览代码

pulled Nicks changes

Jonathan Hinds 6 年前
父节点
当前提交
70896e6745
共有 1 个文件被更改,包括 7 次插入1 次删除
  1. 7
    1
      src/main/java/io/zipcoder/casino/Dice.java

+ 7
- 1
src/main/java/io/zipcoder/casino/Dice.java 查看文件

@@ -1,10 +1,16 @@
1 1
 package io.zipcoder.casino;
2 2
 
3 3
 public class Dice {
4
-    private int sides;
5 4
     private int value;
6 5
 
7 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
 }