Class: Graphics

Phaser. Graphics

Phaser.Graphics

new Graphics(game, x, y)

Creates a new <code>Graphics</code> object.

Parameters:
Name Type Description
game Phaser.Game

Current game instance.

x number

X position of the new graphics object.

y number

Y position of the new graphics object.

Source:

Members

type

Properties:
Name Type Description
type Description

Description.

Source:
Phaser Copyright © 2012-2013 Photon Storm Ltd.
Documentation generated by JSDoc 3.3.0-dev on Fri Oct 25 2013 16:16:46 GMT+0100 (BST) using the DocStrap template.