Add: DrawCard implementations, fix: CurrentState nUpper&nLower management

This commit is contained in:
MatteoPellegrino05
2026-03-24 15:09:20 +01:00
parent fd621e90c7
commit 948f44c1dd
2 changed files with 49 additions and 20 deletions
@@ -53,11 +53,11 @@ public class CurrentState {
}
public void UpperDrawn(){
NUpper++;
NUpper--;
}
public void LowerDrawn(){
NLower++;
NLower--;
}
public void GameStageUpdate(GameStages GameStage){
@@ -80,8 +80,8 @@ public class CurrentState {
public void PlayerUpdate(Player player, Slot slot){
this.player = player;
this.slot = slot;
this.NUpper = 0;
this.NLower = 0;
this.NUpper = slot.getNUpper();
this.NLower = slot.getNLower();
}
// End functions
}