Close #38 : Integrate Joe's dialog

This commit is contained in:
2014-07-02 23:38:33 -07:00
parent 3b26be31f3
commit 8a9200bca9
2 changed files with 305 additions and 28 deletions

View File

@@ -122,7 +122,7 @@ GameState.prototype.create = function()
20, SCREEN_HEIGHT - 40, '', { font : '16px Arial', fill: '#ffffff' }, this.uigroup
);
this.clock = new Date();
this.clock.setHours(20, 0, 0, 0);
this.clock.setHours(20, 50, 0, 0);
this.clockTimer = game.time.create(true);
this.clockTimer.repeat(DAYLIGHT_TIMER_REPEAT,
DAYLIGHT_TIMER_REPEATCOUNT,