mirror of
https://github.com/wassname/phaser.git
synced 2026-08-19 12:30:07 +08:00
Added Group IDs and references to Sprites, Group sorting, z-index values and child swapping. Also added all of the drag and bounds methods to Input.
This commit is contained in:
@@ -9,6 +9,16 @@ module Phaser {
|
||||
*/
|
||||
game: Game;
|
||||
|
||||
/**
|
||||
* The type of game object.
|
||||
*/
|
||||
type: number;
|
||||
|
||||
/**
|
||||
* The ID of the Group this Sprite belongs to.
|
||||
*/
|
||||
group: Group;
|
||||
|
||||
/**
|
||||
* x value of the object.
|
||||
*/
|
||||
@@ -24,16 +34,6 @@ module Phaser {
|
||||
*/
|
||||
z: number;
|
||||
|
||||
/**
|
||||
* The type of game object.
|
||||
*/
|
||||
type: number;
|
||||
|
||||
/**
|
||||
* Reference to the Renderer.renderSprite method. Can be overriden by custom classes.
|
||||
*/
|
||||
//render;
|
||||
|
||||
/**
|
||||
* Controls if both <code>update</code> and render are called by the core game loop.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user