Exemplo n.º 1
0
 public void CreateTeamProfile(string name, HouseEnum house, CharacterClassEnum cast, string image)
 {
     if (!_dataService.IsFileExist(FileNames.TeamProfile))
     {
         TeamProfile profile = new TeamProfile(name, house, cast, image);
         _dataService.CreateFile(FileNames.TeamProfile);
         SaveToFile(profile);
     }
 }
Exemplo n.º 2
0
        public void SetHouse(HouseEnum house)
        {
            if (house != HouseEnum.UnderBrigde)
            {
                HasHouse = true;
            }

            House = house;
        }