summaryrefslogtreecommitdiff
path: root/game/states/boot.js
blob: 91cbb2524a475e2005fc4260ad97a1d35ea22520 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
'use strict';

function Boot() {
}

Boot.prototype = {
  preload: function() {
    this.load.image('preloader', 'assets/preloader.gif');
  },
  create: function() {
    this.game.input.maxPointers = 1;
    this.game.state.start('preload');
  }
};

module.exports = Boot;