C# Class Dwarrowdelf.Jobs.Assignments.AttackAssignment

Inheritance: Assignment
Show file Open project: tomba/dwarrowdelf Class Usage Examples

Public Methods

Method Description
AttackAssignment ( IJobObserver parent, ILivingObject target ) : System
ToString ( ) : string

Protected Methods

Method Description
ActionDoneOverride ( ActionState actionStatus ) : JobStatus
ActionProgressOverride ( ) : JobStatus
OnStateChanged ( JobStatus status ) : void
PrepareNextActionOverride ( JobStatus &progress ) : GameAction

Private Methods

Method Description
AttackAssignment ( SaveGameContext ctx ) : System
CheckProgress ( ) : JobStatus
PreparePath ( ILivingObject worker ) : JobStatus

Method Details

ActionDoneOverride() protected method

protected ActionDoneOverride ( ActionState actionStatus ) : JobStatus
actionStatus ActionState
return JobStatus

ActionProgressOverride() protected method

protected ActionProgressOverride ( ) : JobStatus
return JobStatus

AttackAssignment() public method

public AttackAssignment ( IJobObserver parent, ILivingObject target ) : System
parent IJobObserver
target ILivingObject
return System

OnStateChanged() protected method

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

PrepareNextActionOverride() protected method

protected PrepareNextActionOverride ( JobStatus &progress ) : GameAction
progress JobStatus
return GameAction

ToString() public method

public ToString ( ) : string
return string