C# Class OpenRA.Mods.Common.Traits.ProximityCapturable

Inheritance: ITick, INotifyAddedToWorld, INotifyRemovedFromWorld, INotifyOwnerChanged
显示文件 Open project: pchote/OpenRA

Public Properties

Property Type Description
Info ProximityCapturableInfo
OriginalOwner Player
Self Actor

Public Methods

Method Description
ProximityCapturable ( Actor self, ProximityCapturableInfo info ) : System.Collections.Generic
Tick ( Actor self ) : void

Private Methods

Method Description
ActorEntered ( Actor other ) : void
ActorLeft ( Actor other ) : void
CanBeCapturedBy ( Actor a ) : bool
ChangeOwnership ( Actor self, Actor captor ) : void
INotifyAddedToWorld ( Actor self ) : void
INotifyOwnerChanged ( Actor self, Player oldOwner, Player newOwner ) : void
INotifyRemovedFromWorld ( Actor self ) : void
IsClear ( Actor self, Player captorOwner ) : bool
UpdateOwnership ( ) : void

Method Details

ProximityCapturable() public method

public ProximityCapturable ( Actor self, ProximityCapturableInfo info ) : System.Collections.Generic
self Actor
info ProximityCapturableInfo
return System.Collections.Generic

Tick() public method

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

Property Details

Info public_oe property

public ProximityCapturableInfo,OpenRA.Mods.Common.Traits Info
return ProximityCapturableInfo

OriginalOwner public_oe property

public Player OriginalOwner
return Player

Self public_oe property

public Actor Self
return Actor