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