summaryrefslogtreecommitdiff
path: root/game/states/preload.js
diff options
context:
space:
mode:
authorJustin Worthe <justin.worthe@entelect.co.za>2014-05-14 12:55:57 +0200
committerJustin Worthe <justin.worthe@entelect.co.za>2014-05-14 12:55:57 +0200
commitcbcb7ac6b9fde4586cd62ca961f97974d302f0b7 (patch)
tree37607ac10a79f4fda0fd6b4b9478a596098be14f /game/states/preload.js
parentd0d4f4318cae17e65c738c595550b5e5a0904e05 (diff)
Added second player to the game
re #5
Diffstat (limited to 'game/states/preload.js')
-rw-r--r--game/states/preload.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/game/states/preload.js b/game/states/preload.js
index 906be3f..945ad14 100644
--- a/game/states/preload.js
+++ b/game/states/preload.js
@@ -14,6 +14,7 @@ Preload.prototype = {
this.load.setPreloadSprite(this.asset);
this.load.image('wall', 'assets/images/wall.svg');
this.load.image('player-a', 'assets/images/player-a.svg');
+ this.load.image('player-b', 'assets/images/player-b.svg');
this.load.image('pill', 'assets/images/pill.svg');
},
create: function() {