C# Class ElementalDemon

Inheritance: Enemy
Show file Open project: marouen-lamiri/Second-Soul

Public Properties

Property Type Description
highPunchClip UnityEngine.AnimationClip
jumpClip UnityEngine.AnimationClip
roarClip UnityEngine.AnimationClip
walkClip UnityEngine.AnimationClip

Protected Properties

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

Public Methods

Method Description
FixedUpdate ( ) : void
Start ( ) : void
animateHighPunch ( ) : void
animateIdle ( ) : void
animateJump ( ) : void
animateRoar ( ) : void
animateWalk ( ) : void
criticalHitCheck ( ) : bool
getDamage ( ) : double
initializeSecondaryStats ( ) : void
loseEnergy ( float energy ) : bool

Protected Methods

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

Private Methods

Method Description
attackAI ( ) : void
determineAction ( ) : bool

Method Details

FixedUpdate() public method

public FixedUpdate ( ) : void
return void

Start() public method

public Start ( ) : void
return void

animateHighPunch() public method

public animateHighPunch ( ) : void
return void

animateIdle() public method

public animateIdle ( ) : void
return void

animateJump() public method

public animateJump ( ) : void
return void

animateRoar() public method

public animateRoar ( ) : void
return void

animateWalk() public method

public animateWalk ( ) : void
return void

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

highPunchClip public property

public AnimationClip,UnityEngine highPunchClip
return UnityEngine.AnimationClip

intelligence protected property

protected int intelligence
return int

intelligencePerLvl protected property

protected int intelligencePerLvl
return int

jumpClip public property

public AnimationClip,UnityEngine jumpClip
return UnityEngine.AnimationClip

roarClip public property

public AnimationClip,UnityEngine roarClip
return UnityEngine.AnimationClip

spirit protected property

protected int spirit
return int

spiritPerLvl protected property

protected int spiritPerLvl
return int

timeOut protected property

protected int timeOut
return int

timeOutMax protected property

protected int timeOutMax
return int

walkClip public property

public AnimationClip,UnityEngine walkClip
return UnityEngine.AnimationClip

wisdom protected property

protected int wisdom
return int

wisdomPerLvl protected property

protected int wisdomPerLvl
return int