Package tools.aqua.bgw.components.gamecomponentviews

Types

Link copied to clipboard
open class CardView(    posX: Number = 0,     posY: Number = 0,     width: Number = DEFAULT_CARD_WIDTH,     height: Number = DEFAULT_CARD_HEIGHT,     front: Visual,     back: Visual = front) : GameComponentView

A CardView may be used to visualize a card.

Link copied to clipboard
open class DiceView(    posX: Number = 0,     posY: Number = 0,     width: Number = DEFAULT_DICE_WIDTH,     height: Number = DEFAULT_DICE_HEIGHT,     visuals: List<Visual>) : GameComponentView

A DiceView may be used to visualize a dice.

Link copied to clipboard
sealed class GameComponentView : DynamicComponentView

Abstract baseclass for game components like CardViews or TokenViews.

Link copied to clipboard
open class HexagonView(    posX: Number = 0,     posY: Number = 0,     val size: Number = DEFAULT_HEXAGON_SIZE,     visual: Visual,     var orientation: HexOrientation = HexOrientation.POINTY_TOP) : GameComponentView

A HexagonView represents a hexagonal shaped game component view.

Link copied to clipboard
open class TokenView(    posX: Number = 0,     posY: Number = 0,     width: Number = DEFAULT_TOKEN_WIDTH,     height: Number = DEFAULT_TOKEN_HEIGHT,     visual: Visual) : GameComponentView

A TokenView may be used to visualize any kind of token.