school/java/old/Project/MyDie.java
2021-03-10 15:30:40 -05:00

18 lines
323 B
Java

import java.util.Random;
public abstract class MyDie {
protected int myValue;
protected Random rand;
public MyDie(){
myValue = -1;
}
abstract public void roll ();
abstract public int getValue();
abstract public void setSeed(int seed);
abstract public int compareTo(Object o);
}