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

Inheritance: IEditorBrush
Mostra file Open project: pchote/OpenRA

Public Properties

Property Type Description
Template ushort

Public Methods

Method Description
Dispose ( ) : void
EditorTileBrush ( EditorViewportControllerWidget editorWidget, ushort template, WorldRenderer wr ) : System
HandleMouseInput ( MouseInput mi ) : bool
Tick ( ) : void

Private Methods

Method Description
FloodFillWithBrush ( CPos cell, bool isMoving ) : void
PaintCell ( CPos cell, bool isMoving ) : void
PlacementOverlapsSameTemplate ( TerrainTemplateInfo template, CPos cell ) : bool

Method Details

Dispose() public method

public Dispose ( ) : void
return void

EditorTileBrush() public method

public EditorTileBrush ( EditorViewportControllerWidget editorWidget, ushort template, WorldRenderer wr ) : System
editorWidget EditorViewportControllerWidget
template ushort
wr OpenRA.Graphics.WorldRenderer
return System

HandleMouseInput() public method

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

Tick() public method

public Tick ( ) : void
return void

Property Details

Template public_oe property

public ushort Template
return ushort