C# Class Dwarrowdelf.AI.HerbivoreAI

Inheritance: AssignmentAI, IJobObserver
Exibir arquivo Open project: tomba/dwarrowdelf Class Usage Examples

Private Properties

Property Type Description
GetFleeVector DoubleVector3
HerbivoreAI System

Public Methods

Method Description
HerbivoreAI ( ILivingObject ob, int playerID ) : System
OnObservableJobStatusChanged ( IJob job, JobStatus status ) : void

Protected Methods

Method Description
GetNewOrCurrentAssignment ( ActionPriority priority ) : IAssignment

Private Methods

Method Description
GetFleeVector ( IEnumerable enemies ) : DoubleVector3
HerbivoreAI ( SaveGameContext ctx ) : System

Method Details

GetNewOrCurrentAssignment() protected method

protected GetNewOrCurrentAssignment ( ActionPriority priority ) : IAssignment
priority ActionPriority
return IAssignment

HerbivoreAI() public method

public HerbivoreAI ( ILivingObject ob, int playerID ) : System
ob ILivingObject
playerID int
return System

OnObservableJobStatusChanged() public method

public OnObservableJobStatusChanged ( IJob job, JobStatus status ) : void
job IJob
status JobStatus
return void