Skip to content

Commit

Permalink
Whole codebase updated to TypeScript 0.9.1, phew!
Browse files Browse the repository at this point in the history
  • Loading branch information
photonstorm committed Aug 8, 2013
1 parent df32190 commit 1248a6c
Show file tree
Hide file tree
Showing 129 changed files with 38,998 additions and 30,870 deletions.
Binary file added Docs/logo/PHASER logotype vector 02.fla
Binary file not shown.
Binary file added Docs/phaser checkboxes.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Docs/phaser power tools.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
38 changes: 0 additions & 38 deletions Phaser/.gitignore

This file was deleted.

42 changes: 6 additions & 36 deletions Phaser/Game.ts
Original file line number Diff line number Diff line change
@@ -1,33 +1,4 @@
/// <reference path="geom/Rectangle.ts" />
/// <reference path="math/LinkedList.ts" />
/// <reference path="math/QuadTree.ts" />
/// <reference path="geom/Point.ts" />
/// <reference path="math/Vec2.ts" />
/// <reference path="geom/Circle.ts" />
/// <reference path="core/Group.ts" />
/// <reference path="core/Signal.ts" />
/// <reference path="core/SignalBinding.ts" />
/// <reference path="loader/Loader.ts" />
/// <reference path="net/Net.ts" />
/// <reference path="loader/Cache.ts" />
/// <reference path="math/GameMath.ts" />
/// <reference path="math/RandomDataGenerator.ts" />
/// <reference path="cameras/CameraManager.ts" />
/// <reference path="gameobjects/GameObjectFactory.ts" />
/// <reference path="sound/SoundManager.ts" />
/// <reference path="sound/Sound.ts" />
/// <reference path="Stage.ts" />
/// <reference path="time/TimeManager.ts" />
/// <reference path="tweens/TweenManager.ts" />
/// <reference path="World.ts" />
/// <reference path="system/Device.ts" />
/// <reference path="system/RequestAnimationFrame.ts" />
/// <reference path="input/InputManager.ts" />
/// <reference path="renderers/IRenderer.ts" />
/// <reference path="renderers/HeadlessRenderer.ts" />
/// <reference path="renderers/canvas/CanvasRenderer.ts" />
/// <reference path="utils/DebugUtils.ts" />
/// <reference path="core/PluginManager.ts" />
/// <reference path="_definitions.ts" />

/**
* Phaser - Game
Expand Down Expand Up @@ -242,7 +213,7 @@ module Phaser {
* @type {Time}
*/
public time: Phaser.TimeManager;

/**
* Reference to the tween manager.
* @type {TweenManager}
Expand All @@ -259,7 +230,7 @@ module Phaser {
* Reference to the physics manager.
* @type {Physics.Manager}
*/
public physics: Phaser.Physics.Manager;
//public physics: Phaser.Physics.Manager;

/**
* Instance of repeatable random data generator helper.
Expand All @@ -272,7 +243,7 @@ module Phaser {
* @type {Device}
*/
public device: Phaser.Device;

/**
* Reference to the render manager
* @type {RenderManager}
Expand Down Expand Up @@ -329,7 +300,7 @@ module Phaser {
this.input = new Phaser.InputManager(this);
this.sound = new Phaser.SoundManager(this);
this.rnd = new Phaser.RandomDataGenerator([(Date.now() * Math.random()).toString()]);
this.physics = new Phaser.Physics.Manager(this);
//this.physics = new Phaser.Physics.Manager(this);
this.plugins = new Phaser.PluginManager(this, this);

this.load.onLoadComplete.addOnce(this.loadComplete, this);
Expand Down Expand Up @@ -461,7 +432,6 @@ module Phaser {
}

this.plugins.postRender();

}

/**
Expand Down Expand Up @@ -707,7 +677,7 @@ module Phaser {

}

public get camera(): Camera {
public get camera(): Phaser.Camera {
return this.world.cameras.current;
}

Expand Down
Loading

0 comments on commit 1248a6c

Please sign in to comment.