C# Class Dwarrowdelf.AI.AssignmentAI

Inheritance: IAI
Afficher le fichier Open project: tomba/dwarrowdelf

Protected Properties

Свойство Type Description
trace MyTraceProxy

Private Properties

Свойство Type Description
OnPostDeserialization void

Méthodes publiques

Méthode Description
Abort ( ) : void
ActionDone ( ActionDoneEvent e ) : void
ActionProgress ( ActionProgressEvent e ) : void
ActionStarted ( ActionStartEvent e ) : void
DecideAction ( ActionPriority priority ) : GameAction

return new or current GameAction, possibly overriding the current action, or null to abort the current action

Méthodes protégées

Méthode Description
AssignmentAI ( ILivingObject worker, int playerID ) : System
AssignmentAI ( SaveGameContext ctx ) : System
ClearCurrentAssignment ( ) : void
GetNewOrCurrentAssignment ( ActionPriority priority ) : IAssignment

return new or current assignment, or null to cancel current assignment, or do nothing if no current assignment

JobStatusChangedOverride ( IJob job, JobStatus status ) : void
OnJobStatusChanged ( IJob job, JobStatus status ) : void
SetCurrentAssignment ( IAssignment assignment, ActionPriority priority ) : void

Private Methods

Méthode Description
OnPostDeserialization ( ) : void

Method Details

Abort() public méthode

public Abort ( ) : void
Résultat void

ActionDone() public méthode

public ActionDone ( ActionDoneEvent e ) : void
e ActionDoneEvent
Résultat void

ActionProgress() public méthode

public ActionProgress ( ActionProgressEvent e ) : void
e ActionProgressEvent
Résultat void

ActionStarted() public méthode

public ActionStarted ( ActionStartEvent e ) : void
e ActionStartEvent
Résultat void

AssignmentAI() protected méthode

protected AssignmentAI ( ILivingObject worker, int playerID ) : System
worker ILivingObject
playerID int
Résultat System

AssignmentAI() protected méthode

protected AssignmentAI ( SaveGameContext ctx ) : System
ctx SaveGameContext
Résultat System

ClearCurrentAssignment() protected méthode

protected ClearCurrentAssignment ( ) : void
Résultat void

DecideAction() public méthode

return new or current GameAction, possibly overriding the current action, or null to abort the current action
public DecideAction ( ActionPriority priority ) : GameAction
priority ActionPriority
Résultat GameAction

GetNewOrCurrentAssignment() protected abstract méthode

return new or current assignment, or null to cancel current assignment, or do nothing if no current assignment
protected abstract 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

OnJobStatusChanged() protected méthode

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

SetCurrentAssignment() protected méthode

protected SetCurrentAssignment ( IAssignment assignment, ActionPriority priority ) : void
assignment IAssignment
priority ActionPriority
Résultat void

Property Details

trace protected_oe property

protected MyTraceProxy trace
Résultat MyTraceProxy