C# Class SectionWeapon, verthex

Show file 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 property

public int cost
return int

damage protected property

protected int damage
return int

damageUpgrades protected property

protected List damageUpgrades
return List

fire public property

public bool fire
return bool

maxUpgradeEffect protected property

protected WeaponEffect, maxUpgradeEffect
return WeaponEffect,

maxUpgradeLevel public property

public int maxUpgradeLevel
return int

range protected property

protected int range
return int

rangeUpgrades protected property

protected List rangeUpgrades
return List

spcost protected property

protected int spcost
return int

upgradeLevel protected property

protected int upgradeLevel
return int

weaponEffect protected property

protected WeaponEffect, weaponEffect
return WeaponEffect,

weapons public static property

public static string[] weapons
return string[]

weight protected property

protected int weight
return int

wtype public property

public string wtype
return string