Added class constructors, fixed Stripshader, added relative Tween example and updated Tween source.

This commit is contained in:
photonstorm
2013-12-30 16:54:00 +00:00
parent fdbdd81b7b
commit ce4cf531d4
59 changed files with 324 additions and 149 deletions
+2
View File
@@ -689,6 +689,8 @@ Phaser.Input.prototype = {
};
Phaser.Input.prototype.constructor = Phaser.Input;
/**
* The X coordinate of the most recently active pointer. This value takes game scaling into account automatically. See Pointer.screenX/clientX for source values.
* @name Phaser.Input#x
+3 -1
View File
@@ -1106,4 +1106,6 @@ Phaser.InputHandler.prototype = {
}
};
};
Phaser.InputHandler.prototype.constructor = Phaser.InputHandler;
+2
View File
@@ -169,3 +169,5 @@ Phaser.Key.prototype = {
}
};
Phaser.Key.prototype.constructor = Phaser.Key;
+2
View File
@@ -395,6 +395,8 @@ Phaser.Keyboard.prototype = {
};
Phaser.Keyboard.prototype.constructor = Phaser.Keyboard;
Phaser.Keyboard.A = "A".charCodeAt(0);
Phaser.Keyboard.B = "B".charCodeAt(0);
Phaser.Keyboard.C = "C".charCodeAt(0);
+3 -1
View File
@@ -165,4 +165,6 @@ Phaser.MSPointer.prototype = {
}
};
};
Phaser.MSPointer.prototype.constructor = Phaser.MSPointer;
+2
View File
@@ -327,3 +327,5 @@ Phaser.Mouse.prototype = {
}
};
Phaser.Mouse.prototype.constructor = Phaser.Mouse;
+2
View File
@@ -583,6 +583,8 @@ Phaser.Pointer.prototype = {
};
Phaser.Pointer.prototype.constructor = Phaser.Pointer;
/**
* How long the Pointer has been depressed on the touchscreen. If not currently down it returns -1.
* @name Phaser.Pointer#duration
+3 -1
View File
@@ -380,4 +380,6 @@ Phaser.Touch.prototype = {
}
};
};
Phaser.Touch.prototype.constructor = Phaser.Touch;