new GameObjectFactory(game) The GameObjectFactory is a quick way to create many common game objectsusing
[readonly] offsetX : number The amount the Game Object is visually offset from its x coordinate
maxHealth : number The Game Objects maximum health value. This works in combination with the heal method to ensure
getRandomExists(startIndex, endIndex) → {any}
addBinary(key, binaryData) Add a binary object in to the cache. Parameters
update() Override this method in your own custom objects to handle any update requirements.It is called immediately after preUpdate
destroy(destroyChildren, destroyTexture) Destroys the Game Object. This
getBounds(targetCoordinateSpace) → {Rectangle} Retrieves the global
[readonly] inWorld : boolean Checks if the Game Objects bounds are within, or intersect at
initShaderBuffers() Initialises the shader buffers. Source code:
Page 67 of 100