Esempio n. 1
0
 public void StartUpDataStory()
 {
     if (story == null)
     {
         story = new StoryMaker();
     }
 }
Esempio n. 2
0
        public void StartAdventure(Player player, PlayerStates state, Player Defender = null)
        {
            User = player;
            User.SetPlayerStates(state);

            switch (User.GetPlayerState())
            {
            case PlayerStates.Encounter:
                story = new StoryMaker(1, 0, User.GetPlayerLvl());
                break;

            case PlayerStates.Campaign:

                break;

            case PlayerStates.CollabBoss:

                break;

            case PlayerStates.Dungeon:
                story = new StoryMaker(3, 1, User.GetPlayerLvl());
                break;

            case PlayerStates.Pvp:
                story = new StoryMaker(player, Defender);
                break;

            case PlayerStates.Rest:
                Console.WriteLine("player [" + User.GetPlayername() + "] have broken the game");
                break;
            }
        }