C# Class Dwarrowdelf.Server.Fortress.DwarfAI

Inheritance: Dwarrowdelf.AI.AssignmentAI, IJobObserver
Afficher le fichier Open project: tomba/dwarrowdelf

Méthodes publiques

Méthode Description
DwarfAI ( ILivingObject ob, EnvObserver envObserver, int playerID ) : System
OnObservableJobStatusChanged ( IJob job, JobStatus status ) : void

Méthodes protégées

Méthode Description
GetNewOrCurrentAssignment ( ActionPriority priority ) : IAssignment
JobStatusChangedOverride ( IJob job, JobStatus status ) : void

Private Methods

Méthode Description
CreateDrinkAssignmentIfNeeded ( ILivingObject worker, ActionPriority priority ) : IAssignment
CreateEatAssignmentIfNeeded ( ILivingObject worker, ActionPriority priority ) : IAssignment
CreateSleepAssignmentIfNeeded ( ILivingObject worker, ActionPriority priority ) : IAssignment
DwarfAI ( SaveGameContext ctx ) : System

Method Details

DwarfAI() public méthode

public DwarfAI ( ILivingObject ob, EnvObserver envObserver, int playerID ) : System
ob ILivingObject
envObserver EnvObserver
playerID int
Résultat System

GetNewOrCurrentAssignment() protected méthode

protected GetNewOrCurrentAssignment ( ActionPriority priority ) : IAssignment
priority ActionPriority
Résultat IAssignment

JobStatusChangedOverride() protected méthode

protected JobStatusChangedOverride ( IJob job, JobStatus status ) : void
job IJob
status JobStatus
Résultat void

OnObservableJobStatusChanged() public méthode

public OnObservableJobStatusChanged ( IJob job, JobStatus status ) : void
job IJob
status JobStatus
Résultat void