C# Class SectionWeapon, verthex

Datei anzeigen Open project: austinblakeslee/verthex Class Usage Examples

Public Properties

Property Type Description
cost int
fire bool
maxUpgradeLevel int
weapons string[]
wtype string

Protected Properties

Property Type Description
damage int
damageUpgrades List
maxUpgradeEffect WeaponEffect,
range int
rangeUpgrades List
spcost int
upgradeLevel int
weaponEffect WeaponEffect,
weight int

Public Methods

Method Description
GetCost ( ) : int
GetDamage ( ) : int
GetEffect ( ) : WeaponEffect,
GetPrefab ( ) : GameObject
GetRange ( ) : int
GetSPCost ( ) : int
GetUpgradeLevel ( ) : int
GetWeaponType ( ) : string
GetWeight ( ) : int
SetWeaponEffect ( WeaponEffect, e ) : void
Upgrade ( ) : void

Method Details

GetCost() public method

public GetCost ( ) : int
return int

GetDamage() public method

public GetDamage ( ) : int
return int

GetEffect() public method

public GetEffect ( ) : WeaponEffect,
return WeaponEffect,

GetPrefab() public method

public GetPrefab ( ) : GameObject
return GameObject

GetRange() public method

public GetRange ( ) : int
return int

GetSPCost() public method

public GetSPCost ( ) : int
return int

GetUpgradeLevel() public method

public GetUpgradeLevel ( ) : int
return int

GetWeaponType() public method

public GetWeaponType ( ) : string
return string

GetWeight() public method

public GetWeight ( ) : int
return int

SetWeaponEffect() public method

public SetWeaponEffect ( WeaponEffect, e ) : void
e WeaponEffect,
return void

Upgrade() public method

public Upgrade ( ) : void
return void

Property Details

cost public_oe property

public int cost
return int

damage protected_oe property

protected int damage
return int

damageUpgrades protected_oe property

protected List damageUpgrades
return List

fire public_oe property

public bool fire
return bool

maxUpgradeEffect protected_oe property

protected WeaponEffect, maxUpgradeEffect
return WeaponEffect,

maxUpgradeLevel public_oe property

public int maxUpgradeLevel
return int

range protected_oe property

protected int range
return int

rangeUpgrades protected_oe property

protected List rangeUpgrades
return List

spcost protected_oe property

protected int spcost
return int

upgradeLevel protected_oe property

protected int upgradeLevel
return int

weaponEffect protected_oe property

protected WeaponEffect, weaponEffect
return WeaponEffect,

weapons public_oe static_oe property

public static string[] weapons
return string[]

weight protected_oe property

protected int weight
return int

wtype public_oe property

public string wtype
return string