Skip to content

Commit

Permalink
SafariBowl 0.9.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Giovanni authored and Giovanni committed Jun 22, 2015
1 parent b3e4be9 commit 31db401
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/gameLogic/dice/BlockDie.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,14 @@
* The die thrown while blocking
*/
public class BlockDie implements Die {
private int throwCounter = 0;
/**
* @return Returns a int from 1 to 5 where the numbers mean 1: "Attacker Down", 2: "Both Down", 3: "Pushed", 4: "Defender Stumbles", 5: "Defender Down"
*/
public int throwDie() {
/*int[] throwsForPresentation = {5, 3, 3, 1, 3, 5, 1, 3, 5, 4, 3, 2, 3, 4, 1, 1, 3, 3, 3, 5, 3, 4, 5, 2, 4, 4};
if(throwCounter < throwsForPresentation.length){
int i = throwsForPresentation[throwCounter];
throwCounter++;
System.out.println("DB: " + i);

This comment has been minimized.

Copy link
@m-vz

m-vz Jun 22, 2015

Owner

oh, how funny!

return i;
}*/
int i = rand.nextInt(6) + 1;
if(i == 6){
i = 3;
}
// System.out.println("DB: " + i);
return i;
}

Expand Down

0 comments on commit 31db401

Please sign in to comment.