// CONSTRUCTOR // public Player(string pName, string pDescription, int pHealth) { _name = pName; _description = pDescription; _health = pHealth; _equippedWeapon = null; // Set the value of _damage UpdateDamage(); }
public int Equip(Weapon pItemToEquip) { _equippedWeapon = pItemToEquip; return 0; }