C# Class Dwarrowdelf.Jobs.JobGroups.JobGroup

Inheritance: IJobGroup, IJobObserver
Show file Open project: tomba/dwarrowdelf

Private Properties

Property Type Description
IJobObserver void

Public Methods

Method Description
Abort ( ) : void
FindAssignment ( ILivingObject living ) : IAssignment
GetAssignments ( ILivingObject living ) : IEnumerable

Protected Methods

Method Description
AddSubJob ( IJob job ) : void
AddSubJobs ( IEnumerable jobs ) : void
Cleanup ( ) : void
GetJobs ( ILivingObject living ) : IEnumerable
JobGroup ( IJobObserver parent ) : System
JobGroup ( SaveGameContext ctx ) : System
Notify ( string propertyName ) : void
OnStatusChanged ( JobStatus status ) : void
OnSubJobAborted ( IJob job ) : void
OnSubJobDone ( IJob job ) : void
OnSubJobFailed ( IJob job ) : void
RemoveSubJob ( IJob job ) : void
SetStatus ( JobStatus status ) : void

Private Methods

Method Description
IJobObserver ( IJob job, JobStatus status ) : void

Method Details

Abort() public method

public Abort ( ) : void
return void

AddSubJob() protected method

protected AddSubJob ( IJob job ) : void
job IJob
return void

AddSubJobs() protected method

protected AddSubJobs ( IEnumerable jobs ) : void
jobs IEnumerable
return void

Cleanup() protected method

protected Cleanup ( ) : void
return void

FindAssignment() public method

public FindAssignment ( ILivingObject living ) : IAssignment
living ILivingObject
return IAssignment

GetAssignments() public method

public GetAssignments ( ILivingObject living ) : IEnumerable
living ILivingObject
return IEnumerable

GetJobs() protected method

protected GetJobs ( ILivingObject living ) : IEnumerable
living ILivingObject
return IEnumerable

JobGroup() protected method

protected JobGroup ( IJobObserver parent ) : System
parent IJobObserver
return System

JobGroup() protected method

protected JobGroup ( SaveGameContext ctx ) : System
ctx SaveGameContext
return System

Notify() protected method

protected Notify ( string propertyName ) : void
propertyName string
return void

OnStatusChanged() protected method

protected OnStatusChanged ( JobStatus status ) : void
status JobStatus
return void

OnSubJobAborted() protected method

protected OnSubJobAborted ( IJob job ) : void
job IJob
return void

OnSubJobDone() protected method

protected OnSubJobDone ( IJob job ) : void
job IJob
return void

OnSubJobFailed() protected method

protected OnSubJobFailed ( IJob job ) : void
job IJob
return void

RemoveSubJob() protected method

protected RemoveSubJob ( IJob job ) : void
job IJob
return void

SetStatus() protected method

protected SetStatus ( JobStatus status ) : void
status JobStatus
return void