1
0
Fork 0
spacetac/src/scripts/Game.ts

16 lines
359 B
TypeScript

/// <reference path="definitions/phaser.d.ts"/>
module SpaceTac {
export class Game extends Phaser.Game {
constructor() {
super(800, 600, Phaser.CANVAS, '-space-tac');
this.state.add('boot', State.Boot);
this.state.add('preload', State.Preload);
this.state.add('main', State.Main);
this.state.start('boot');
}
}
}