コード例 #1
0
        private void lavaandiceRetryBtn_Click()
        {
            ((Pax4SoundLavaAndIce)Pax4Sound._current)._lavaandiceButtonAccepted.Play();

            Pax4World._current.Dx();

            Pax4WorldLavaAndIce.CreateAndEnterQuest();

            Pax4Game._pause = false;

            Pax4UiStateLavaAndIceMission._currentMissionState.UpdateMedalSprite();
            Pax4UiStateLavaAndIceVictory.UpdateMedalSprite();
        }
コード例 #2
0
ファイル: Pax4UiLavaAndIce.cs プロジェクト: pax7/LavaAndIce
        public override void Create()
        {
            Pax4UiState state = null;

            state = new Pax4UiStateLavaAndIceChooseQuest("chooseQuest", this);
            AddUiState(state);

            Enter(state);

            state = new Pax4UiStateLavaAndIceChooseMissionPrologue("Prologue", this);
            AddUiState(state);

            //state = new Pax4UiStateLavaAndIceChooseMissionEquilibrium("Equilibrium", this);
            //AddState(state);

            //state = new Pax4UiStateLavaAndIceChooseMissionEquilibrium("LavaGrail", this);
            //AddState(state);

            //state = new Pax4UiStateLavaAndIceChooseMissionEquilibrium("IceGrail", this);
            //AddState(state);

            //state = new Pax4UiStateLavaAndIceChooseMissionEquilibrium("Dragons", this);
            //AddState(state);

            state = new Pax4UiStateLavaAndIceInstructions("instructions", null);
            AddUiState(state);

            state = new Pax4UiStateLavaAndIceMissionDifficulty("difficulty", this);
            AddUiState(state);

            state = new Pax4UiStateLavaAndIceMenu("menu", this);
            AddUiState(state);

            state = new Pax4UiStateLavaAndIceVictory("victory", this);
            AddUiState(state);

            state = new Pax4UiStateLavaAndIceDefeat("defeat", this);
            AddUiState(state);

            state = new Pax4UiStateLavaAndIceMission("fgLava", this, Pax4WorldLavaAndIce.ELavaAndIceMissionType._LAVA);
            AddUiState(state);

            state = new Pax4UiStateLavaAndIceMission("fgIce", this, Pax4WorldLavaAndIce.ELavaAndIceMissionType._ICE);
            AddUiState(state);

            state = new Pax4UiStateLavaAndIceMission("fgLavaAndIce", this, Pax4WorldLavaAndIce.ELavaAndIceMissionType._LAVA_AND_ICE);
            AddUiState(state);
        }