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

Inheritance: INotifyCapture
显示文件 Open project: pchote/OpenRA Class Usage Examples

Public Properties

Property Type Description
Info CapturableInfo

Public Methods

Method Description
Capturable ( CapturableInfo info ) : OpenRA.Traits
OnCapture ( Actor self, Actor captor, Player oldOwner, Player newOwner ) : void

Method Details

Capturable() public method

public Capturable ( CapturableInfo info ) : OpenRA.Traits
info CapturableInfo
return OpenRA.Traits

OnCapture() public method

public OnCapture ( Actor self, Actor captor, Player oldOwner, Player newOwner ) : void
self Actor
captor Actor
oldOwner Player
newOwner Player
return void

Property Details

Info public_oe property

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