Class Blackjack


public class Blackjack extends ManagedButtonGame
Handles the UI for blackjack. logic should be kept to a minimum in here!
Since:
0.1.0
See Also:
  • Constructor Details

    • Blackjack

      public Blackjack()
  • Method Details

    • get

      public com.badlogic.gdx.scenes.scene2d.ui.Table get()
      Get the blackjack scene
      Specified by:
      get in class Scene
      Returns:
      A table, containing the scene
    • getGameInstance

      public BlackjackGame getGameInstance()
      Get the game instance for accessing the state and logic of the game from outside of the stage
      Specified by:
      getGameInstance in class ManagedButtonGame
      Returns:
      The current game instance
    • updateChipDisplay

      public void updateChipDisplay()
      Update the chip counter shown during the BET phase
    • setPlayerButtonPaneByPhase

      public void setPlayerButtonPaneByPhase()
      Set the correct button pane for the user, based on the phase of the game
      See Also:
    • alert

      public void alert(String msg)
      Stub
      Parameters:
      msg - Stub