Property | Type | Description | |
---|---|---|---|
DiceContribution | List |
||
SurgeAbilitiesContribution | List |
Method | Description | |
---|---|---|
Clone ( ) : |
Returns a clone of the equipment. The data, and the index will be the same, but the pointer to the object itself will be different
|
|
Equals ( object obj ) : bool |
Compares a piece of equipment to this one
|
|
EquipToHero ( Hero hero ) : void |
The equipment will pass abilities on, so the hero is able to use them.
|
|
Equipment ( int id, string name, EquipmentType type, EAttackType attackType, EquipmentRarity rarity, int buyPrice, List |
Initializes a new instance of the Equipment class.
|
|
TapEquipment ( ) : void |
Taps the piece of equipment
|
|
UnequipFromHero ( Hero hero ) : void |
The equipment will unattach from a hero
|
|
UntapEquipment ( ) : void |
Untaps the piece of equipment, even if not tapped
|
Method | Description | |
---|---|---|
DiceContribution ( ) : List |
A method that return the dice of the weapon, used to pass on as a delegate.
|
|
SurgeAbilitiesContribution ( ) : List |
A method that return the surge abilities of the weapon, used to pass on as a delegate
|
public Equals ( object obj ) : bool | ||
obj | object | /// The obj to be compared /// |
return | bool |
public EquipToHero ( Hero hero ) : void | ||
hero | Hero | /// The hero that equips the equipment /// |
return | void |
public Equipment ( int id, string name, EquipmentType type, EAttackType attackType, EquipmentRarity rarity, int buyPrice, List |
||
id | int | /// The unique id of the equipment /// |
name | string | /// The name of the equipment /// |
type | EquipmentType | /// The equipments type /// |
attackType | EAttackType | /// The attack type of the equipment /// |
rarity | EquipmentRarity | /// The rarity of the equipment /// |
buyPrice | int | /// The buy price of the equipment /// This is 0 if the equipments rarity is not common /// |
surgeAbilities | List |
/// The surge abilities, if the equipment is a weapon /// |
hands | int | /// The number of hands it takes to wield, if the equipment is a weapon /// |
abilities | List |
/// The abilities that the equipment have /// |
dice | List |
/// The dice that the equipment has /// |
return | System.Collections.Generic |
public UnequipFromHero ( Hero hero ) : void | ||
hero | Hero | /// The hero to /// |
return | void |