Update: CurrentState Now Implements Era Field, GetEra Method and UpdateEra

This commit is contained in:
GabrieleRadice
2026-03-22 19:01:52 +01:00
parent 47e37c5472
commit 2e1e472bf8
@@ -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;