Skip to content

Commit 1248a6c

Browse files
committed
Whole codebase updated to TypeScript 0.9.1, phew!
1 parent df32190 commit 1248a6c

129 files changed

Lines changed: 38998 additions & 30870 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
24.5 KB
Binary file not shown.

Docs/phaser checkboxes.gif

12.3 KB
Loading

Docs/phaser power tools.gif

4.12 KB
Loading

Phaser/.gitignore

Lines changed: 0 additions & 38 deletions
This file was deleted.

Phaser/Game.ts

Lines changed: 6 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,4 @@
1-
/// <reference path="geom/Rectangle.ts" />
2-
/// <reference path="math/LinkedList.ts" />
3-
/// <reference path="math/QuadTree.ts" />
4-
/// <reference path="geom/Point.ts" />
5-
/// <reference path="math/Vec2.ts" />
6-
/// <reference path="geom/Circle.ts" />
7-
/// <reference path="core/Group.ts" />
8-
/// <reference path="core/Signal.ts" />
9-
/// <reference path="core/SignalBinding.ts" />
10-
/// <reference path="loader/Loader.ts" />
11-
/// <reference path="net/Net.ts" />
12-
/// <reference path="loader/Cache.ts" />
13-
/// <reference path="math/GameMath.ts" />
14-
/// <reference path="math/RandomDataGenerator.ts" />
15-
/// <reference path="cameras/CameraManager.ts" />
16-
/// <reference path="gameobjects/GameObjectFactory.ts" />
17-
/// <reference path="sound/SoundManager.ts" />
18-
/// <reference path="sound/Sound.ts" />
19-
/// <reference path="Stage.ts" />
20-
/// <reference path="time/TimeManager.ts" />
21-
/// <reference path="tweens/TweenManager.ts" />
22-
/// <reference path="World.ts" />
23-
/// <reference path="system/Device.ts" />
24-
/// <reference path="system/RequestAnimationFrame.ts" />
25-
/// <reference path="input/InputManager.ts" />
26-
/// <reference path="renderers/IRenderer.ts" />
27-
/// <reference path="renderers/HeadlessRenderer.ts" />
28-
/// <reference path="renderers/canvas/CanvasRenderer.ts" />
29-
/// <reference path="utils/DebugUtils.ts" />
30-
/// <reference path="core/PluginManager.ts" />
1+
/// <reference path="_definitions.ts" />
312

323
/**
334
* Phaser - Game
@@ -242,7 +213,7 @@ module Phaser {
242213
* @type {Time}
243214
*/
244215
public time: Phaser.TimeManager;
245-
216+
246217
/**
247218
* Reference to the tween manager.
248219
* @type {TweenManager}
@@ -259,7 +230,7 @@ module Phaser {
259230
* Reference to the physics manager.
260231
* @type {Physics.Manager}
261232
*/
262-
public physics: Phaser.Physics.Manager;
233+
//public physics: Phaser.Physics.Manager;
263234

264235
/**
265236
* Instance of repeatable random data generator helper.
@@ -272,7 +243,7 @@ module Phaser {
272243
* @type {Device}
273244
*/
274245
public device: Phaser.Device;
275-
246+
276247
/**
277248
* Reference to the render manager
278249
* @type {RenderManager}
@@ -329,7 +300,7 @@ module Phaser {
329300
this.input = new Phaser.InputManager(this);
330301
this.sound = new Phaser.SoundManager(this);
331302
this.rnd = new Phaser.RandomDataGenerator([(Date.now() * Math.random()).toString()]);
332-
this.physics = new Phaser.Physics.Manager(this);
303+
//this.physics = new Phaser.Physics.Manager(this);
333304
this.plugins = new Phaser.PluginManager(this, this);
334305

335306
this.load.onLoadComplete.addOnce(this.loadComplete, this);
@@ -461,7 +432,6 @@ module Phaser {
461432
}
462433

463434
this.plugins.postRender();
464-
465435
}
466436

467437
/**
@@ -707,7 +677,7 @@ module Phaser {
707677

708678
}
709679

710-
public get camera(): Camera {
680+
public get camera(): Phaser.Camera {
711681
return this.world.cameras.current;
712682
}
713683

0 commit comments

Comments
 (0)