C# Class Imp

Inheritance: MonoBehaviour
Show file Open project: marouen-lamiri/Second-Soul Class Usage Examples

Protected Properties

Property Type Description
intelligence int
intelligencePerLvl int
spirit int
spiritPerLvl int
wisdom int
wisdomPerLvl int

Public Methods

Method Description
criticalHitCheck ( ) : bool
getDamage ( ) : double
initializeSecondaryStats ( ) : void
loseEnergy ( float energy ) : bool

Protected Methods

Method Description
attackTarget ( ) : void
initializePrimaryStats ( ) : void

Private Methods

Method Description
FixedUpdate ( ) : void
Start ( ) : void

Method Details

attackTarget() protected method

protected attackTarget ( ) : void
return void

criticalHitCheck() public method

public criticalHitCheck ( ) : bool
return bool

getDamage() public method

public getDamage ( ) : double
return double

initializePrimaryStats() protected method

protected initializePrimaryStats ( ) : void
return void

initializeSecondaryStats() public method

public initializeSecondaryStats ( ) : void
return void

loseEnergy() public method

public loseEnergy ( float energy ) : bool
energy float
return bool

Property Details

intelligence protected property

protected int intelligence
return int

intelligencePerLvl protected property

protected int intelligencePerLvl
return int

spirit protected property

protected int spirit
return int

spiritPerLvl protected property

protected int spiritPerLvl
return int

wisdom protected property

protected int wisdom
return int

wisdomPerLvl protected property

protected int wisdomPerLvl
return int