Package com.mygdx.game.Logic
Interface GameInstance.GameInstanceListener
- Enclosing class:
- GameInstance
public static interface GameInstance.GameInstanceListener
This interface is to be implemented by the UI in order to be notified about events that happen by the game logic
-
Method Summary
Modifier and Type Method Description void
pawnPositionUpdated(Pawn pawn)
This pawn has moved in the boardvoid
playerDrewCard(Card aCard)
A card has been activated by the playervoid
playerLost(Player aPlayer)
This Player has lost the gamevoid
playerUpdated(Player aPlayer)
This Player has a variable with a changed valuevoid
playerWon(Player aPlayer)
This Player has won the game
-
Method Details
-
pawnPositionUpdated
This pawn has moved in the board -
playerUpdated
This Player has a variable with a changed value -
playerDrewCard
A card has been activated by the player -
playerWon
This Player has won the game -
playerLost
This Player has lost the game
-