C# Class WeaponEffect, verthex

Inheritance: MonoBehaviour
Show file Open project: austinblakeslee/verthex Class Usage Examples

Public Properties

Property Type Description
appliedWeapon SectionWeapon,

Protected Properties

Property Type Description
canAttackOpponent bool
canAttackSelf bool
effectType string
upgradeLevel int

Public Methods

Method Description
CanAttackOpponent ( ) : bool
CanAttackSelf ( ) : bool
Construct ( ) : void
Destruct ( ) : void
DoDamage ( Tower, opp, int oppCenter, int damage, Tower, self, int firingSec ) : void
GetDamagedSections ( Tower, t, int center ) : List
GetEffectType ( ) : string
GetInfo ( int damage ) : string
GetUpgradeLevel ( ) : int
Upgrade ( ) : void
WeaponEffect ( ) : System.Collections
WeaponEffect ( SectionWeapon, effectedWeapon ) : System.Collections

Method Details

CanAttackOpponent() public method

public CanAttackOpponent ( ) : bool
return bool

CanAttackSelf() public method

public CanAttackSelf ( ) : bool
return bool

Construct() public method

public Construct ( ) : void
return void

Destruct() public method

public Destruct ( ) : void
return void

DoDamage() public abstract method

public abstract DoDamage ( Tower, opp, int oppCenter, int damage, Tower, self, int firingSec ) : void
opp Tower,
oppCenter int
damage int
self Tower,
firingSec int
return void

GetDamagedSections() public abstract method

public abstract GetDamagedSections ( Tower, t, int center ) : List
t Tower,
center int
return List

GetEffectType() public method

public GetEffectType ( ) : string
return string

GetInfo() public abstract method

public abstract GetInfo ( int damage ) : string
damage int
return string

GetUpgradeLevel() public method

public GetUpgradeLevel ( ) : int
return int

Upgrade() public method

public Upgrade ( ) : void
return void

WeaponEffect() public method

public WeaponEffect ( ) : System.Collections
return System.Collections

WeaponEffect() public method

public WeaponEffect ( SectionWeapon, effectedWeapon ) : System.Collections
effectedWeapon SectionWeapon,
return System.Collections

Property Details

appliedWeapon public property

public SectionWeapon, appliedWeapon
return SectionWeapon,

canAttackOpponent protected property

protected bool canAttackOpponent
return bool

canAttackSelf protected property

protected bool canAttackSelf
return bool

effectType protected property

protected string effectType
return string

upgradeLevel protected property

protected int upgradeLevel
return int