C# Class OpenRA.Mods.Common.Widgets.ActorPreviewWidget

Inheritance: OpenRA.Widgets.Widget
Show file Open project: pchote/OpenRA Class Usage Examples

Public Properties

Property Type Description
Animate bool
GetScale Func

Public Methods

Method Description
Clone ( ) : OpenRA.Widgets.Widget
Draw ( ) : void
PrepareRenderables ( ) : void
SetPreview ( ActorInfo actor, TypeDictionary td ) : void
Tick ( ) : void

Protected Methods

Method Description
ActorPreviewWidget ( ActorPreviewWidget other ) : System

Private Methods

Method Description
ActorPreviewWidget ( WorldRenderer worldRenderer ) : System

Method Details

ActorPreviewWidget() protected method

protected ActorPreviewWidget ( ActorPreviewWidget other ) : System
other ActorPreviewWidget
return System

Clone() public method

public Clone ( ) : OpenRA.Widgets.Widget
return OpenRA.Widgets.Widget

Draw() public method

public Draw ( ) : void
return void

PrepareRenderables() public method

public PrepareRenderables ( ) : void
return void

SetPreview() public method

public SetPreview ( ActorInfo actor, TypeDictionary td ) : void
actor ActorInfo
td TypeDictionary
return void

Tick() public method

public Tick ( ) : void
return void

Property Details

Animate public property

public bool Animate
return bool

GetScale public property

public Func GetScale
return Func