OSDN Git Service

Merge branch 'master' of https://scm.sourceforge.jp/gitroot/h58pcdgame/GameScriptCore...
[h58pcdgame/GameScriptCoreLibrary.git] / www / corelib / core.js
index f29f251..af3d6bf 100644 (file)
@@ -108,6 +108,7 @@ function GameManager(parent, debugTextName){
        this.stagePausedFunction = null;
        
        this.backgroundMusic = null;
+
        //**イベントリスナー設定**
        //コールバックを行うために、イベントリスナーのmanagerプロパティにGameManagerのインスタンスを代入する。
        //timerTick
@@ -206,6 +207,9 @@ GameManager.prototype = {
                //runningStageに登録することで、イベントの通知が開始され、GameStageは実行状態に入る。
                this.runningStage = stage;
                
+               this.addWidget(new UserStateWidgetClass(this));
+               this.addWidget(new PickedItemWidgetClass(this));
+               
                if(this.stageStartedEvent)
                {
                        this.stageStartedEvent.apply(window, [stage]);