示例#1
0
        public void GameClientHandler()
        {
            switch (ThereIsServer.GameObjects.MyProfile.StoryStep)
            {
            case StorySteps.TheFirstShowingWithBookStory:     // When the player should see the book and select the Koji Empire and also the Element
                Controls.Clear();
                NerveGearPictureBoxControl.Dispose();
                MessageLabel1.Dispose();
                FirstTimeDesigning();
                break;

            case StorySteps.KingdomSelectionStory:     // When the player Already selected its Element but not Kingdom yet.
                Controls.Clear();
                NerveGearPictureBoxControl.Dispose();
                MessageLabel1.Dispose();
                ShowKojiTerritoryIn(true);
                break;

            case StorySteps.TheFirstChurchStory:     // When the player Already selected its Kingdom, thus we should show him The Church
                Controls.Clear();
                NerveGearPictureBoxControl.Dispose();
                MessageLabel1.Dispose();
                ShowFirstChurch(true);
                break;

            case StorySteps.SeeYourHomeForFirstTimeStory:     // When the player already passed the discussion in the church
                Controls.Clear();
                NerveGearPictureBoxControl.Dispose();
                MessageLabel1.Dispose();
                ShowFirstHome(true);
                break;

            default:
                break;
            }
        }