C# Class OpenRA.Mods.Common.Activities.HarvesterDockSequence

Inheritance: Activity
Show file Open project: OpenRA/OpenRA

Protected Properties

Property Type Description
DockAngle int
DragLength int
DragOffset WVec
EndDrag WPos
Harv OpenRA.Mods.Common.Traits.Harvester
IsDragRequired bool
Refinery Actor
StartDrag WPos
dockingState State

Public Methods

Method Description
Cancel ( Actor self ) : void
GetTargets ( Actor self ) : IEnumerable
HarvesterDockSequence ( Actor self, Actor refinery, int dockAngle, bool isDragRequired, WVec dragOffset, int dragLength ) : System
OnStateDock ( Actor self ) : Activity
OnStateUndock ( Actor self ) : Activity
Tick ( Actor self ) : Activity

Method Details

Cancel() public method

public Cancel ( Actor self ) : void
self Actor
return void

GetTargets() public method

public GetTargets ( Actor self ) : IEnumerable
self Actor
return IEnumerable

HarvesterDockSequence() public method

public HarvesterDockSequence ( Actor self, Actor refinery, int dockAngle, bool isDragRequired, WVec dragOffset, int dragLength ) : System
self Actor
refinery Actor
dockAngle int
isDragRequired bool
dragOffset WVec
dragLength int
return System

OnStateDock() public abstract method

public abstract OnStateDock ( Actor self ) : Activity
self Actor
return Activity

OnStateUndock() public abstract method

public abstract OnStateUndock ( Actor self ) : Activity
self Actor
return Activity

Tick() public method

public Tick ( Actor self ) : Activity
self Actor
return Activity

Property Details

DockAngle protected property

protected int DockAngle
return int

DragLength protected property

protected int DragLength
return int

DragOffset protected property

protected WVec DragOffset
return WVec

EndDrag protected property

protected WPos EndDrag
return WPos

Harv protected property

protected Harvester,OpenRA.Mods.Common.Traits Harv
return OpenRA.Mods.Common.Traits.Harvester

IsDragRequired protected property

protected bool IsDragRequired
return bool

Refinery protected property

protected Actor Refinery
return Actor

StartDrag protected property

protected WPos StartDrag
return WPos

dockingState protected property

protected State dockingState
return State