C# Class Imp

Inheritance: MonoBehaviour
Exibir arquivo 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_oe property

protected int intelligence
return int

intelligencePerLvl protected_oe property

protected int intelligencePerLvl
return int

spirit protected_oe property

protected int spirit
return int

spiritPerLvl protected_oe property

protected int spiritPerLvl
return int

wisdom protected_oe property

protected int wisdom
return int

wisdomPerLvl protected_oe property

protected int wisdomPerLvl
return int