GameObjectCreator#graphics()

graphics(x, y) → {Phaser.Graphics}

Creates a new Graphics object.

Parameters
Name Type Argument Default Description
x number <optional>
0

X position of the new graphics object.

y number <optional>
0

Y position of the new graphics object.

Returns

The newly created graphics object.

Source code: gameobjects/GameObjectCreator.js (Line 236)
doc_phaser
2017-02-14 10:48:30
Comments
Leave a Comment

Please login to continue.