C# Class AlertState, Wallcology-Unity

Inheritance: State
Show file Open project: ltg-uic/Wallcology-Unity Class Usage Examples

Public Methods

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

Private Methods

Method Description
Look ( ) : void
Search ( ) : void

Method Details

AlertState() public method

public AlertState ( 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