Beispiel #1
0
 public Story(string name, List <int> seasons, MainHero hero, int currentSeason = -1, int currentSeries = -1)
 {
     Name          = name;
     _seasons      = seasons;
     Hero          = hero;
     CurrentSeason = currentSeason;
     CurrentSeries = currentSeries;
 }
Beispiel #2
0
        private MainHero GetMH()
        {
            var hero = new MainHero("MainHero");

            hero.SetSympathies(new Dictionary <string, int> {
                { "Tom", 2 }, { "Olivia", 4 }, { "Jake", -5 }
            });
            return(hero);
        }