C# Class ChaseState, Wallcology-Unity

Chase an enemy.
Inheritance: BaseState
Datei anzeigen Open project: ltg-uic/Wallcology-Unity Class Usage Examples

Public Methods

Method Description
ChaseState ( StatePatternEnemy, statePatternEnemy ) : System.Collections
OnTriggerEnter ( Collider other ) : void
ToAlertState ( ) : void
ToChaseState ( ) : void
ToPatrolState ( ) : void
UpdateState ( ) : void

Private Methods

Method Description
Chase ( ) : void
Look ( ) : void

Method Details

ChaseState() public method

public ChaseState ( StatePatternEnemy, statePatternEnemy ) : System.Collections
statePatternEnemy StatePatternEnemy,
return System.Collections

OnTriggerEnter() public method

public OnTriggerEnter ( Collider other ) : void
other Collider
return void

ToAlertState() public method

public ToAlertState ( ) : void
return void

ToChaseState() public method

public ToChaseState ( ) : void
return void

ToPatrolState() public method

public ToPatrolState ( ) : void
return void

UpdateState() public method

public UpdateState ( ) : void
return void