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

Inheritance: Enter
Mostrar archivo Open project: OpenRA/OpenRA

Public Methods

Method Description
EnterTransport ( Actor self, Actor transport, int maxTries, bool targetCenter = false ) : System

Protected Methods

Method Description
CanReserve ( Actor self ) : bool
OnInside ( Actor self ) : void
Reserve ( Actor self ) : ReserveStatus
TryGetAlternateTarget ( Actor self, int tries, Target &target ) : bool
Unreserve ( Actor self, bool abort ) : void

Method Details

CanReserve() protected method

protected CanReserve ( Actor self ) : bool
self Actor
return bool

EnterTransport() public method

public EnterTransport ( Actor self, Actor transport, int maxTries, bool targetCenter = false ) : System
self Actor
transport Actor
maxTries int
targetCenter bool
return System

OnInside() protected method

protected OnInside ( Actor self ) : void
self Actor
return void

Reserve() protected method

protected Reserve ( Actor self ) : ReserveStatus
self Actor
return ReserveStatus

TryGetAlternateTarget() protected method

protected TryGetAlternateTarget ( Actor self, int tries, Target &target ) : bool
self Actor
tries int
target OpenRA.Traits.Target
return bool

Unreserve() protected method

protected Unreserve ( Actor self, bool abort ) : void
self Actor
abort bool
return void