OSDN Git Service
(root)
/
h58pcdgame
/
GameScriptCoreLibrary.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Timerの時刻が全ステージで共有されるように
[h58pcdgame/GameScriptCoreLibrary.git]
/
www
/
corelib
/
core.js
diff --git
a/www/corelib/core.js
b/www/corelib/core.js
index
347f47e
..
4bb252a
100644
(file)
--- a/
www/corelib/core.js
+++ b/
www/corelib/core.js
@@
-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 = [];