Add: DrawCard implementations, fix: CurrentState nUpper&nLower management
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user