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

Inheritance: IProvideTooltipInfo, INotifyOwnerChanged
Mostra file Open project: pchote/OpenRA

Public Methods

Method Description
IsTooltipVisible ( Player forPlayer ) : bool
OnOwnerChanged ( Actor self, Player oldOwner, Player newOwner ) : void
PowerTooltip ( Actor self ) : OpenRA.Traits

Method Details

IsTooltipVisible() public method

public IsTooltipVisible ( Player forPlayer ) : bool
forPlayer Player
return bool

OnOwnerChanged() public method

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

PowerTooltip() public method

public PowerTooltip ( Actor self ) : OpenRA.Traits
self Actor
return OpenRA.Traits