Update: CurrentState Now Implements Era Field, GetEra Method and UpdateEra
This commit is contained in:
@@ -16,6 +16,11 @@ public class CurrentState {
|
|||||||
return slot;
|
return slot;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private int Era;
|
||||||
|
public int getEra(){
|
||||||
|
return Era;
|
||||||
|
}
|
||||||
|
|
||||||
private int NUpper;
|
private int NUpper;
|
||||||
public int getNUpper(){
|
public int getNUpper(){
|
||||||
return NUpper;
|
return NUpper;
|
||||||
@@ -42,6 +47,10 @@ 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;
|
||||||
}
|
}
|
||||||
@@ -51,6 +60,7 @@ public class CurrentState {
|
|||||||
public CurrentState(){
|
public CurrentState(){
|
||||||
this.player = null;
|
this.player = null;
|
||||||
this.slot = null;
|
this.slot = null;
|
||||||
|
this.Era = 1;
|
||||||
this.NUpper = 0;
|
this.NUpper = 0;
|
||||||
this.NLower = 0;
|
this.NLower = 0;
|
||||||
this.GameStage = GameStages.WAITING;
|
this.GameStage = GameStages.WAITING;
|
||||||
|
|||||||
Reference in New Issue
Block a user