OSDN Git Service

Timerの時刻が全ステージで共有されるように
[h58pcdgame/GameScriptCoreLibrary.git] / www / corelib / core.js
index 347f47e..4bb252a 100644 (file)
@@ -104,6 +104,11 @@ function GameManager(parent, debugTextName){
        //死んだときにもどってくるステージ
        this.returningStage = 'onieasy';
        
+       //ゲームの7分間タイマー初期化
+       this.startTimeStamp = 0;
+       this.timerRunning = false;
+       this.gameTime = 7 * 60 * 1000;
+       
        // pauseStage()関連の配列。
        this.stagePaused = false;
        this.stagePausedFunctions = [];