Package tools.aqua.bgw.components.container

Types

Link copied to clipboard
open class Area<T : GameComponentView>(    posX: Number = 0,     posY: Number = 0,     width: Number = DEFAULT_AREA_WIDTH,     height: Number = DEFAULT_AREA_HEIGHT,     visual: Visual = Visual.EMPTY) : GameComponentContainer<T>

An Area may be used to visualize a zone containing GameComponentViews.

Link copied to clipboard
open class CardStack<T : CardView>(    posX: Number = 0,     posY: Number = 0,     width: Number = DEFAULT_CARD_STACK_WIDTH,     height: Number = DEFAULT_CARD_STACK_HEIGHT,     alignment: Alignment = Alignment.CENTER,     visual: Visual = Visual.EMPTY) : GameComponentContainer<T>

A CardStackView may be used to visualize a card stack.

Link copied to clipboard

Baseclass for containers that can contain GameComponentViews or its subclasses.

Link copied to clipboard
class HexagonGrid<T : HexagonView>(    posX: Number = 0,     posY: Number = 0,     width: Number = 0,     height: Number = 0,     visual: Visual = Visual.EMPTY,     coordinateSystem: HexagonGrid.CoordinateSystem = CoordinateSystem.OFFSET,     var orientation: HexOrientation = HexOrientation.POINTY_TOP) : GameComponentContainer<T>

A class representing a grid of hexagons.

Link copied to clipboard
open class LinearLayout<T : GameComponentView>(    posX: Number = 0,     posY: Number = 0,     width: Number = DEFAULT_LINEAR_LAYOUT_WIDTH,     height: Number = DEFAULT_LINEAR_LAYOUT_HEIGHT,     spacing: Number = DEFAULT_LINEAR_LAYOUT_SPACING,     visual: Visual = Visual.EMPTY,     orientation: Orientation = Orientation.HORIZONTAL,     alignment: Alignment = Alignment.TOP_LEFT) : GameComponentContainer<T>

A LinearLayout may be used to visualize a zone containing GameComponentViews.

Link copied to clipboard
open class Satchel<T : GameComponentView>(    posX: Number = 0,     posY: Number = 0,     width: Number = DEFAULT_SATCHEL_WIDTH,     height: Number = DEFAULT_SATCHEL_HEIGHT,     visual: Visual = Visual.EMPTY) : GameComponentContainer<T>

A Satchel may be used to visualize a pool containing GameComponentViews.