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

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

Public Properties

Property Type Description
GetPalette Func
GetScale Func
GetSprite Func
Palette string

Protected Properties

Property Type Description
WorldRenderer WorldRenderer

Public Methods

Method Description
Clone ( ) : OpenRA.Widgets.Widget
Draw ( ) : void

Protected Methods

Method Description
SpriteWidget ( SpriteWidget other ) : System

Private Methods

Method Description
SpriteWidget ( WorldRenderer worldRenderer ) : System

Method Details

Clone() public method

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

Draw() public method

public Draw ( ) : void
return void

SpriteWidget() protected method

protected SpriteWidget ( SpriteWidget other ) : System
other SpriteWidget
return System

Property Details

GetPalette public property

public Func GetPalette
return Func

GetScale public property

public Func GetScale
return Func

GetSprite public property

public Func GetSprite
return Func

Palette public property

public string Palette
return string

WorldRenderer protected property

protected WorldRenderer WorldRenderer
return WorldRenderer