summaryrefslogtreecommitdiff
path: root/game/states/boot.js
blob: eade2ff99602c30f80395cbf8cd78549182dc9a6 (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/images/preloader.gif');
  },
  create: function() {
    this.game.input.maxPointers = 1;
    this.game.state.start('load');
  }
};

module.exports = Boot;