Package com.shr4pnel.casino.scene
Class Blackjack
java.lang.Object
com.shr4pnel.casino.scene.Scene
com.shr4pnel.casino.scene.ManagedButtonScene
com.shr4pnel.casino.scene.ManagedButtonGame
com.shr4pnel.casino.scene.Blackjack
Handles the UI for blackjack. logic should be kept to a minimum in here!
- Since:
- 0.1.0
- See Also:
-
Field Summary
Fields inherited from class com.shr4pnel.casino.scene.ManagedButtonScene
buttonGroupManager -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidStubcom.badlogic.gdx.scenes.scene2d.ui.Tableget()Get the blackjack sceneGet the game instance for accessing the state and logic of the game from outside of the stagevoidSet the correct button pane for the user, based on the phase of the gamevoidUpdate the chip counter shown during the BET phaseMethods inherited from class com.shr4pnel.casino.scene.ManagedButtonScene
getButtonGroupManager
-
Constructor Details
-
Blackjack
public Blackjack()
-
-
Method Details
-
get
public com.badlogic.gdx.scenes.scene2d.ui.Table get()Get the blackjack scene -
getGameInstance
Get the game instance for accessing the state and logic of the game from outside of the stage- Specified by:
getGameInstancein classManagedButtonGame- 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
Stub- Parameters:
msg- Stub
-