1
0
Fork 0
spacetac/src/scripts/view/Main.ts

12 lines
309 B
TypeScript
Raw Normal View History

2014-12-29 00:00:00 +00:00
module SpaceTac.View {
2015-01-07 00:00:00 +00:00
"use strict";
2014-12-29 00:00:00 +00:00
2015-01-07 00:00:00 +00:00
export class Main extends Phaser.State {
2014-12-29 00:00:00 +00:00
create() {
// Switch to a test battle
var battle = Game.Battle.newQuickRandom();
this.game.state.start("battle", true, false, battle.fleets[0].player, battle);
2014-12-29 00:00:00 +00:00
}
}
}