mirror of
https://github.com/wassname/phaser.git
synced 2026-09-10 12:29:30 +08:00
Refactoring ready for 1.0 release.
This commit is contained in:
+18
-15
@@ -1,19 +1,22 @@
|
||||
/**
|
||||
* Phaser
|
||||
*
|
||||
* v0.9.6 - May 21st 2013
|
||||
*
|
||||
* A small and feature-packed 2D canvas game framework born from the firey pits of Flixel and Kiwi.
|
||||
*
|
||||
* Richard Davey (@photonstorm)
|
||||
*
|
||||
* Many thanks to Adam Saltsman (@ADAMATOMIC) for releasing Flixel on which Phaser took a lot of inspiration.
|
||||
*
|
||||
* "If you want your children to be intelligent, read them fairy tales."
|
||||
* "If you want them to be more intelligent, read them more fairy tales."
|
||||
* -- Albert Einstein
|
||||
*/
|
||||
var Phaser;
|
||||
(function (Phaser) {
|
||||
Phaser.VERSION = 'Phaser version 0.9.6';
|
||||
Phaser.Point = (typeof Float32Array !== 'undefined') ? Float32Array : Array;
|
||||
Phaser.Vec2 = (typeof Float32Array !== 'undefined') ? Float32Array : Array;
|
||||
Phaser.Matrix = (typeof Float32Array !== 'undefined') ? Float32Array : Array;
|
||||
})(Phaser || (Phaser = {}));
|
||||
var Phaser;
|
||||
(function (Phaser) {
|
||||
(function (Geom2) {
|
||||
var Point = (function () {
|
||||
function Point() { }
|
||||
Point.prototype.add = function (a, b) {
|
||||
a[0] = b[0];
|
||||
return a;
|
||||
};
|
||||
return Point;
|
||||
})();
|
||||
Geom2.Point = Point;
|
||||
})(Phaser.Geom2 || (Phaser.Geom2 = {}));
|
||||
var Geom2 = Phaser.Geom2;
|
||||
})(Phaser || (Phaser = {}));
|
||||
|
||||
Reference in New Issue
Block a user