예제 #1
0
 public void OnEventGameLoad(EventGameLoad e)
 {
     WriteEvent(e);
 }
예제 #2
0
        public void onGameLoad(EventGameLoad evt)
        {
            if (File == "")
            {
                File = worldManager.settlementName.ToString();
            }

            if (!AdventureMap.isMapCreated)
            {
                AManager<MapManager>.getInstance().CreateWorldMap();
                AdventureMap.isMapCreated = true;
            }

            if (BattleManager.isStartingFight)
            {
                TransitionScreen.CloseWindow();
                AManager<TimeManager>.getInstance().pause();
                Screen.lockCursor = false;
                Screen.showCursor = true;
                GUIManager.getInstance().startMenu = "";
                GUIManager.getInstance().inStartMenu = true;
                GUIManager.getInstance().inGame = false;
                BattleManager.isStartingFight = false;
            }

            if (PartyManager.draftees.Count <= 0)
            {
                PartyManager partyManager = new PartyManager();
                partyManager.ManageParty(0);
            }
        }
 public void onGameLoad(EventGameLoad evt)
 {
 }
 public void OnGameLoad(EventGameLoad evt)
 {
     UpdateDoorHpOnGameLoad();
 }
 public void OnEventGameLoad(EventGameLoad e)
 {
     WriteEvent(e);
 }