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

Inheritance: UpgradeMultiplierTrait, IPowerModifier, INotifyOwnerChanged
显示文件 Open project: OpenRA/OpenRA

Public Methods

Method Description
GetPowerModifier ( ) : int
OnOwnerChanged ( Actor self, Player oldOwner, Player newOwner ) : void
PowerMultiplier ( Actor self, PowerMultiplierInfo info ) : OpenRA.Traits

Protected Methods

Method Description
Update ( Actor self ) : void

Method Details

GetPowerModifier() public method

public GetPowerModifier ( ) : int
return int

OnOwnerChanged() public method

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

PowerMultiplier() public method

public PowerMultiplier ( Actor self, PowerMultiplierInfo info ) : OpenRA.Traits
self Actor
info PowerMultiplierInfo
return OpenRA.Traits

Update() protected method

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