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

Inheritance: IEditorBrush
Mostra file Open project: OpenRA/OpenRA

Public Properties

Property Type Description
ResourceType OpenRA.Traits.ResourceTypeInfo

Public Methods

Method Description
AllowResourceAt ( CPos cell ) : bool
Dispose ( ) : void
EditorResourceBrush ( EditorViewportControllerWidget editorWidget, ResourceTypeInfo resource, WorldRenderer wr ) : System.Linq
HandleMouseInput ( MouseInput mi ) : bool
Tick ( ) : void

Method Details

AllowResourceAt() public method

public AllowResourceAt ( CPos cell ) : bool
cell CPos
return bool

Dispose() public method

public Dispose ( ) : void
return void

EditorResourceBrush() public method

public EditorResourceBrush ( EditorViewportControllerWidget editorWidget, ResourceTypeInfo resource, WorldRenderer wr ) : System.Linq
editorWidget EditorViewportControllerWidget
resource OpenRA.Traits.ResourceTypeInfo
wr OpenRA.Graphics.WorldRenderer
return System.Linq

HandleMouseInput() public method

public HandleMouseInput ( MouseInput mi ) : bool
mi MouseInput
return bool

Tick() public method

public Tick ( ) : void
return void

Property Details

ResourceType public_oe property

public ResourceTypeInfo,OpenRA.Traits ResourceType
return OpenRA.Traits.ResourceTypeInfo