new Tile(body, x, y, width, height, type) Ninja Physics Tile constructor.A Tile is defined by its
enable(object, children) This will create an Arcade Physics body on the given game object or array of
ignoreChildInput : boolean If ignoreChildInput is false it will allow this objects children
toNumberArray(output) → {array} Export the points as an array of flat
reset(x, y, health) → {PIXI.DisplayObject} Resets the Game Object
stop() Stops the Keyboard event listeners from running (keydown, keyup and keypress). They are removed from the window.
onUpCallback : Function This callback is invoked every time a key is released. Source
setChildIndex(child, index) Changes the position of an existing child in the display object container Parameters
ceilAll() Runs Math.ceil() on the x, y, width and height values of this Rectangle. Source
frame : number Gets or sets the current frame index and updates the Texture Cache for display.
Page 36 of 100