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