FlexLayer#checkProperty()

checkProperty(child, key, value, force) → {boolean} Checks a property for the given value on the child. Parameters Name Type Argument Default Description child any The child to check the property value on. key array An array of strings that make up the property that will be set. value any The value that will be checked. force boolean <optional> false If force is true then the property will be checked on the child regardless if it already exists or not. If true an

FlexLayer#checkAll()

checkAll(key, value, checkAlive, checkVisible, force) Quickly check that the same property across all children of this group is equal to the given value. This call doesn't descend down children, so if you have a Group inside of this group, the property will be checked on the group but not its children. Parameters Name Type Argument Default Description key string The property, as a string, to be set. For example: 'body.velocity.x' value any The value that will be checked. checkAli

FlexLayer#centerY

centerY : number The center y coordinate of this Group. It is derived by calling getBounds, calculating the Groups dimensions based on itsvisible children. Inherited From Phaser.Group#centerY Source code: core/Group.js (Line 2733)

FlexLayer#centerX

centerX : number The center x coordinate of this Group. It is derived by calling getBounds, calculating the Groups dimensions based on itsvisible children. Inherited From Phaser.Group#centerX Source code: core/Group.js (Line 2705)

FlexLayer#cameraOffset

cameraOffset : Phaser.Point If this object is fixedToCamera then this stores the x/y position offset relative to the top-left of the camera view.If the parent of this Group is also fixedToCamera then the offset here is in addition to that and should typically be disabled. Inherited From Phaser.Group#cameraOffset Source code: core/Group.js (Line 272)

FlexLayer#callAllExists()

callAllExists(callback, existsValue, parameter) Calls a function, specified by name, on all children in the group who exist (or do not exist). After the existsValue parameter you can add as many parameters as you like, which will all be passed to the child callback. Parameters Name Type Argument Description callback string Name of the function on the children to call. existsValue boolean Only children with exists=existsValue will be called. parameter any <repeatable> Additio

FlexLayer#callAll()

callAll(method, context, args) Calls a function, specified by name, on all on children. The function is called for all children regardless if they are dead or alive (see callAllExists for different options).After the method parameter and context you can add as many extra parameters as you like, which will all be passed to the child. Parameters Name Type Argument Default Description method string Name of the function on the child to call. Deep property lookup is supported. context stri

FlexLayer#bringToTop()

bringToTop(child) → {any} Brings the given child to the top of this group so it renders above all other children. Parameters Name Type Description child any The child to bring to the top of this group. Returns any - The child that was moved. Inherited From Phaser.Group#bringToTop Source code: core/Group.js (Line 907)

FlexLayer#bounds

bounds : Phaser.Rectangle Source code: core/FlexLayer.js (Line 51)

FlexLayer#bottomRight

bottomRight : Phaser.Point Source code: core/FlexLayer.js (Line 86)