C# Class MegaMan.Editor.Bll.Tools.BucketToolBehavior

Inheritance: IToolBehavior
Mostrar archivo Open project: Tesserex/C--MegaMan-Engine Class Usage Examples

Public Methods

Method Description
BucketToolBehavior ( ITileBrush brush ) : System.Collections.Generic
Click ( ScreenCanvas canvas, Point location ) : void
Move ( ScreenCanvas canvas, Point location ) : void
Release ( ScreenCanvas canvas, Point location ) : void
RightClick ( ScreenCanvas surface, Point location ) : void

Private Methods

Method Description
Flood ( ScreenCanvas canvas, int tile_x, int tile_y, int tile_id, int brush_x, int brush_y ) : void

Method Details

BucketToolBehavior() public method

public BucketToolBehavior ( ITileBrush brush ) : System.Collections.Generic
brush ITileBrush
return System.Collections.Generic

Click() public method

public Click ( ScreenCanvas canvas, Point location ) : void
canvas MegaMan.Editor.Controls.ScreenCanvas
location MegaMan.Common.Geometry.Point
return void

Move() public method

public Move ( ScreenCanvas canvas, Point location ) : void
canvas MegaMan.Editor.Controls.ScreenCanvas
location MegaMan.Common.Geometry.Point
return void

Release() public method

public Release ( ScreenCanvas canvas, Point location ) : void
canvas MegaMan.Editor.Controls.ScreenCanvas
location MegaMan.Common.Geometry.Point
return void

RightClick() public method

public RightClick ( ScreenCanvas surface, Point location ) : void
surface MegaMan.Editor.Controls.ScreenCanvas
location MegaMan.Common.Geometry.Point
return void