C# Class SpiderState, ES2014B

Inheritance: AbstractEntity
Mostra file Open project: eloipuertas/ES2014B Class Usage Examples

Public Properties

Property Type Description
coeff_ConToFor float
coeff_DexToRef float
coeff_StrToDMG float
destination Vector3
maxHPPossible int
maxMPPossible int
maxPcDMGReduction float
max_attacks_per_second float
moveSpeed float
projectileSpeed float
rotationSpeed float
timeCostDivisor float
timeForNextAction float
timecost_perAction float

Public Methods

Method Description
Awake ( ) : void
Update ( ) : void
addHealth ( int healthToAdd ) : void
attack ( AbstractEntity, enemy, Vector3 enemyPos ) : void
destroyObject ( ) : void
destroyWithDelay ( float delay ) : void
getDestination ( ) : Vector3
lookAt ( Vector3 lookAtPos ) : void
onAttackReceived ( int baseDMG ) : void
setDestination ( float x, float y, float z ) : void
setHealth ( int newHealth ) : void
substractHealth ( int healthToSubstract ) : void
updateStats ( ) : void
useWebSpell ( Transform target ) : void

Private Methods

Method Description
TimeBasedUpdate ( ) : void
move ( ) : void
reenableWebAI ( ) : void
throwProj ( ) : void

Method Details

Awake() public method

public Awake ( ) : void
return void

Update() public method

public Update ( ) : void
return void

addHealth() public method

public addHealth ( int healthToAdd ) : void
healthToAdd int
return void

attack() public method

public attack ( AbstractEntity, enemy, Vector3 enemyPos ) : void
enemy AbstractEntity,
enemyPos Vector3
return void

destroyObject() public method

public destroyObject ( ) : void
return void

destroyWithDelay() public method

public destroyWithDelay ( float delay ) : void
delay float
return void

getDestination() public method

public getDestination ( ) : Vector3
return Vector3

lookAt() public method

public lookAt ( Vector3 lookAtPos ) : void
lookAtPos Vector3
return void

onAttackReceived() public method

public onAttackReceived ( int baseDMG ) : void
baseDMG int
return void

setDestination() public method

public setDestination ( float x, float y, float z ) : void
x float
y float
z float
return void

setHealth() public method

public setHealth ( int newHealth ) : void
newHealth int
return void

substractHealth() public method

public substractHealth ( int healthToSubstract ) : void
healthToSubstract int
return void

updateStats() public method

public updateStats ( ) : void
return void

useWebSpell() public method

public useWebSpell ( Transform target ) : void
target Transform
return void

Property Details

coeff_ConToFor public_oe property

public float coeff_ConToFor
return float

coeff_DexToRef public_oe property

public float coeff_DexToRef
return float

coeff_StrToDMG public_oe property

public float coeff_StrToDMG
return float

destination public_oe property

public Vector3 destination
return Vector3

maxHPPossible public_oe property

public int maxHPPossible
return int

maxMPPossible public_oe property

public int maxMPPossible
return int

maxPcDMGReduction public_oe property

public float maxPcDMGReduction
return float

max_attacks_per_second public_oe property

public float max_attacks_per_second
return float

moveSpeed public_oe property

public float moveSpeed
return float

projectileSpeed public_oe property

public float projectileSpeed
return float

rotationSpeed public_oe property

public float rotationSpeed
return float

timeCostDivisor public_oe property

public float timeCostDivisor
return float

timeForNextAction public_oe property

public float timeForNextAction
return float

timecost_perAction public_oe property

public float timecost_perAction
return float