19 lines
429 B
TypeScript
19 lines
429 B
TypeScript
module SpaceTac.View {
|
|
"use strict";
|
|
|
|
export class Boot extends Phaser.State {
|
|
preload() {
|
|
this.load.image("preload-bar", "assets/images/preloader.gif");
|
|
}
|
|
|
|
create() {
|
|
this.game.stage.backgroundColor = 0xFFFFFF;
|
|
|
|
this.input.maxPointers = 1;
|
|
this.stage.disableVisibilityChange = true;
|
|
|
|
this.game.state.start("preload");
|
|
}
|
|
}
|
|
}
|