Пример #1
0
 public PlayerDataOld()
 {
     Name = "";
     NumberPlate = "";
     Inventory = new List<Item>();
     Weapons = new List<WeaponDefinition>();
     Skills = GM.Copy(SkillRepository.Skills);
     Quests = GM.Copy(QuestRepository.Quests);
     Money = 1000;
     CompletedContracts = 0;
     Motive = PlayerMotive.Rebel;
     Gender = Gender.Male;
     Class = PlayerClass.Time_Master;
     CarColor = VehicleColor.MetallicClassicGold;
     CarSecondaryColor = VehicleColor.MetallicClassicGold;
     SkillSlots = new[]
                 {
                     new SkillSlot {Key = Keys.T},
                     new SkillSlot {Key = Keys.Y},
                     new SkillSlot {Key = Keys.CapsLock},
                     new SkillSlot {Key = Keys.U},
                     new SkillSlot {Key = Keys.B},
                 };
     Setup = new Setup();
     Tutorial = new Tutorial();
     LastContracts = new[] { "","","", "", "" };
     ModelVariations = new Dictionary<int, int>();
 }
Пример #2
0
 private void SelectMotive(int obj)
 {
     if(obj == 0)
     {
         Motive = PlayerMotive.Rebel;
     }
     else
     {
         Motive = PlayerMotive.Lawless;
     }
     State = CharCreationState.PickClass;
     View.PopMenu();
 }