summaryrefslogtreecommitdiff
path: root/game/states/boot.js
blob: 80b7d4ba07d7ca7936e8aac803b9c0a4e8106504 (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('preload');
  }
};

module.exports = Boot;