Update: CurrentState Now Implements round Field, getRound Method and RoundUpdate
This commit is contained in:
@@ -21,6 +21,11 @@ public class CurrentState {
|
|||||||
return Era;
|
return Era;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private int round;
|
||||||
|
public int getRound(){
|
||||||
|
return round;
|
||||||
|
}
|
||||||
|
|
||||||
private int NUpper;
|
private int NUpper;
|
||||||
public int getNUpper(){
|
public int getNUpper(){
|
||||||
return NUpper;
|
return NUpper;
|
||||||
@@ -39,6 +44,14 @@ public class CurrentState {
|
|||||||
// End getters
|
// End getters
|
||||||
|
|
||||||
// Setters
|
// Setters
|
||||||
|
public void EraUpdate(){
|
||||||
|
Era++;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void RoundUpdate(){
|
||||||
|
round++;
|
||||||
|
}
|
||||||
|
|
||||||
public void UpperDrawn(){
|
public void UpperDrawn(){
|
||||||
NUpper++;
|
NUpper++;
|
||||||
}
|
}
|
||||||
@@ -47,10 +60,6 @@ public class CurrentState {
|
|||||||
NLower++;
|
NLower++;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void EraUpdate(){
|
|
||||||
Era++;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void GameStageUpdate(GameStages GameStage){
|
public void GameStageUpdate(GameStages GameStage){
|
||||||
this.GameStage = GameStage;
|
this.GameStage = GameStage;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user