package eg.triviaGameExample.fitnesseFixtures;
import eg.triviaGameExample.Game;
public class GameTurnFixture {
private int roll;
private Game theGame;
public String player() {
theGame = StaticGame.theGame;
return theGame.takeTurn(roll);
}
public void execute() {
StaticGame.theGame.takeTurn(roll);
}
public boolean gameHasStarted() {
theGame = StaticGame.theGame;
return theGame.gameHasStarted();
}
public void setRoll(int roll) {
this.roll = roll;
}
}