C# Class FlightState, Wallcology-Simulator

Inheritance: ICritterState
Mostrar archivo Open project: ltg-uic/Wallcology-Simulator Class Usage Examples

Public Methods

Method Description
FlightState ( StatePatternCritter, activeCritter ) : System.Collections
HandlePredator ( StatePatternCritter, predator ) : void
Look ( ) : void
OnTriggerEnter ( Collider other ) : void
OnTriggerStay ( Collider other ) : void
ToEnterState ( ) : void
ToExitState ( ) : void
ToFlightState ( StatePatternCritter, predator ) : void
ToForageState ( ) : void
ToIdleState ( ) : void
ToPursuitState ( StatePatternCritter, prey ) : void
ToWanderState ( ) : void
UpdateState ( ) : void

Private Methods

Method Description
Flee ( ) : void
SetToAvoid ( ) : void

Method Details

FlightState() public method

public FlightState ( StatePatternCritter, activeCritter ) : System.Collections
activeCritter StatePatternCritter,
return System.Collections

HandlePredator() public method

public HandlePredator ( StatePatternCritter, predator ) : void
predator StatePatternCritter,
return void

Look() public method

public Look ( ) : void
return void

OnTriggerEnter() public method

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

OnTriggerStay() public method

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

ToEnterState() public method

public ToEnterState ( ) : void
return void

ToExitState() public method

public ToExitState ( ) : void
return void

ToFlightState() public method

public ToFlightState ( StatePatternCritter, predator ) : void
predator StatePatternCritter,
return void

ToForageState() public method

public ToForageState ( ) : void
return void

ToIdleState() public method

public ToIdleState ( ) : void
return void

ToPursuitState() public method

public ToPursuitState ( StatePatternCritter, prey ) : void
prey StatePatternCritter,
return void

ToWanderState() public method

public ToWanderState ( ) : void
return void

UpdateState() public method

public UpdateState ( ) : void
return void