Update RandomEventLogic.java

This commit is contained in:
Nathan Lum
2019-04-11 20:10:13 -06:00
committed by GitHub
parent 74f0f31a46
commit 7134a6825e

View File

@@ -14,6 +14,10 @@ public class RandomEventLogic extends Player{
setPlayer(playerDummy);
}
/**
* Method that generates a random number and based on that number, a random event happens.
*
*/
public int[] randEvent() {
Random rand = new Random();
int itemPrice;