예제 #1
0
 public PlayerModel()
 {
     this.inventory         = new Inventory();
     this.currentlyEquipped = new Dictionary <EquipSlot, Items.Equipment>();
     this.abilities         = new PlayerAbilities(10, 10, 10, 10);
     InitAttributeHash();
 }
예제 #2
0
 public PlayerModel(int health, int agility, int defense, int attack, string name)
 {
     this.name              = name;
     this.inventory         = new Inventory();
     this.currentlyEquipped = new Dictionary <EquipSlot, Items.Equipment>();
     this.abilities         = new PlayerAbilities(agility, attack, health, defense);
     InitAttributeHash();
 }
예제 #3
0
 public PlayerModel(Dictionary <AbilityType, Ability> _attributes, string name, long id)
 {
     this.name              = name;
     this.inventory         = new Inventory();
     this.currentlyEquipped = new Dictionary <EquipSlot, Items.Equipment>();
     this.abilities         = new PlayerAbilities(_attributes);
     InitAttributeHash();
 }