C# Class WanderAIController

Inheritance: AIController
Show file Open project: mezosaurus/eae-project

Public Properties

Property Type Description
waitTime float
wanderTag string

Protected Methods

Method Description
GameUpdate ( ) : void
NPCOnDestroy ( ) : void
alert ( ) : void
getNextPath ( ) : GameObject
lure ( Vector3 lurePosition ) : void
move ( ) : void
panic ( ) : void

Private Methods

Method Description
Start ( ) : void
createNextPath ( Vector3 position ) : GameObject
getRandomNumber ( ) : float
getRandomWanderPoint ( ) : Vector2

Method Details

GameUpdate() protected method

protected GameUpdate ( ) : void
return void

NPCOnDestroy() protected method

protected NPCOnDestroy ( ) : void
return void

alert() protected method

protected alert ( ) : void
return void

getNextPath() protected method

protected getNextPath ( ) : GameObject
return GameObject

lure() protected method

protected lure ( Vector3 lurePosition ) : void
lurePosition Vector3
return void

move() protected method

protected move ( ) : void
return void

panic() protected method

protected panic ( ) : void
return void

Property Details

waitTime public property

public float waitTime
return float

wanderTag public property

public string wanderTag
return string