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:
Richard Davey
2013-06-02 03:47:54 +01:00
parent 59f7a59312
commit 49fe5ee65f
22 changed files with 1891 additions and 237 deletions
+10 -10
View File
@@ -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.
*/