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

Inheritance: Activity
Exibir arquivo 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_oe property

protected int DockAngle
return int

DragLength protected_oe property

protected int DragLength
return int

DragOffset protected_oe property

protected WVec DragOffset
return WVec

EndDrag protected_oe property

protected WPos EndDrag
return WPos

Harv protected_oe property

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

IsDragRequired protected_oe property

protected bool IsDragRequired
return bool

Refinery protected_oe property

protected Actor Refinery
return Actor

StartDrag protected_oe property

protected WPos StartDrag
return WPos

dockingState protected_oe property

protected State dockingState
return State