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

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

Public Properties

Property Type Description
AllowAllies bool
AllowEnemies bool
AllowNeutral bool
CancelActivity bool

Public Methods

Method Description
CanBeTargetedBy ( Actor captor, Player owner ) : bool
Create ( ActorInitializer init ) : object

Method Details

CanBeTargetedBy() public method

public CanBeTargetedBy ( Actor captor, Player owner ) : bool
captor Actor
owner Player
return bool

Create() public method

public Create ( ActorInitializer init ) : object
init ActorInitializer
return object

Property Details

AllowAllies public_oe property

public bool AllowAllies
return bool

AllowEnemies public_oe property

public bool AllowEnemies
return bool

AllowNeutral public_oe property

public bool AllowNeutral
return bool

CancelActivity public_oe property

public bool CancelActivity
return bool