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
+2 -9
View File
@@ -21,11 +21,10 @@ module Phaser {
this.add = game.add;
this.camera = game.camera;
this.cache = game.cache;
//this.collision = game.collision;
this.input = game.input;
this.loader = game.loader;
this.math = game.math;
//this.motion = game.motion;
this.motion = game.motion;
this.sound = game.sound;
this.stage = game.stage;
this.time = game.time;
@@ -51,12 +50,6 @@ module Phaser {
*/
public cache: Cache;
/**
* Reference to the collision helper.
* @type {Collision}
*/
//public collision: Collision;
/**
* Reference to the GameObject Factory.
* @type {GameObjectFactory}
@@ -85,7 +78,7 @@ module Phaser {
* Reference to the motion helper.
* @type {Motion}
*/
//public motion: Motion;
public motion: Motion;
/**
* Reference to the sound manager.