Area
fun Area( posX: Number = 0, posY: Number = 0, width: Number = DEFAULT_AREA_WIDTH, height: Number = DEFAULT_AREA_HEIGHT, visual: Visual = Visual.EMPTY)
Content copied to clipboard
Creates an Area.
Parameters
T
Generic GameComponentView.
pos X
Horizontal coordinate for this Area. Default: 0.
pos Y
Vertical coordinate for this Area. Default: 0.
width
Width for this Area. Default: DEFAULT_AREA_WIDTH.
height
Height for this Area. Default: DEFAULT_AREA_HEIGHT.
visual
Visual for this Area. Default: Visual.EMPTY.