Ejemplo n.º 1
0
 public PlayerModel()
 {
     this.inventory         = new Inventory();
     this.currentlyEquipped = new Dictionary <EquipSlot, Items.Equipment>();
     this.abilities         = new PlayerAbilities(10, 10, 10, 10);
     InitAttributeHash();
 }
Ejemplo n.º 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();
 }
Ejemplo n.º 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();
 }