Bullet#addChild()

addChild(child) → {DisplayObject} Adds a child to the container. Parameters Name Type Description child DisplayObject The DisplayObject to add to the container Returns DisplayObject - The child that was added. Inherited From PIXI.DisplayObjectContainer#addChild Source code: pixi/display/DisplayObjectContainer.js (Line 42)

Image#anchor

anchor :Point The anchor sets the origin point of the texture.The default is 0,0 this means the texture's origin is the top leftSetting than anchor to 0.5,0.5 means the textures origin is centeredSetting the anchor to 1,1 would mean the textures origin points will be the bottom right corner Inherited From PIXI.Sprite#anchor Source code: pixi/display/Sprite.js (Line 17)

StateManager#current

current : string The current active State object. Source code: core/StateManager.js (Line 68)

Physics.P2.PrismaticConstraint#PrismaticConstraint

new PrismaticConstraint(world, bodyA, bodyB, lockRotation, anchorA, anchorB, axis, maxForce) Connects two bodies at given offset points, letting them rotate relative to each other around this point. Parameters Name Type Argument Default Description world Phaser.Physics.P2 A reference to the P2 World. bodyA p2.Body First connected body. bodyB p2.Body Second connected body. lockRotation boolean <optional> true If set to false, bodyB will be free to rotate around it

Pointer#positionUp

positionUp : Phaser.Point A Phaser.Point object containing the x/y values of the pointer when it was last released. Source code: input/Pointer.js (Line 337)

Circle#clone()

clone(output) → {Phaser.Circle} Returns a new Circle object with the same values for the x, y, width, and height properties as this Circle object. Parameters Name Type Description output Phaser.Circle Optional Circle object. If given the values will be set into the object, otherwise a brand new Circle object will be created and returned. Returns Phaser.Circle - The cloned Circle object. Source code: geom/Circle.js (Line 171)

Matrix#apply()

apply(pos, newPos) → {Phaser.Point} Get a new position with the current transformation applied. Can be used to go from a childs coordinate space to the world coordinate space (e.g. rendering) Parameters Name Type Argument Description pos Phaser.Point The origin Point. newPos Phaser.Point <optional> The point that the new position is assigned to. This can be same as input point. Returns Phaser.Point - The new point, transformed through this matrix. Source code: geom/Matri

Graphics#drawShape()

drawShape(shape) → {PIXI.GraphicsData} Draws the given shape to this Graphics object. Can be any of Circle, Rectangle, Ellipse, Line or Polygon. Parameters Name Type Description shape Circle | Rectangle | Ellipse | Line | Polygon The Shape object to draw. Returns PIXI.GraphicsData - The generated GraphicsData object. Source code: pixi/primitives/Graphics.js (Line 1184)

Graphics#drawRect()

drawRect(x, y, width, height) → {PIXI.Graphics} Parameters Name Type Description x Number The X coord of the top-left of the rectangle y Number The Y coord of the top-left of the rectangle width Number The width of the rectangle height Number The height of the rectangle Returns PIXI.Graphics - Source code: pixi/primitives/Graphics.js (Line 534)

Physics#matter

matter :Phaser.Physics.Matter The MatterJS Physics system (coming soon). Source code: physics/Physics.js (Line 63)