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

Inheritance: IToolBehavior
Exibir arquivo Open project: Tesserex/C--MegaMan-Engine

Public Methods

Method Description
Click ( ScreenCanvas canvas, Point location ) : void
EntityToolBehavior ( EntityInfo entity, int snapX, int snapY ) : MegaMan.Common.Entities
Move ( ScreenCanvas canvas, Point location ) : void
Release ( ScreenCanvas canvas, Point location ) : void
RightClick ( ScreenCanvas canvas, Point location ) : void

Method Details

Click() public method

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

EntityToolBehavior() public method

public EntityToolBehavior ( EntityInfo entity, int snapX, int snapY ) : MegaMan.Common.Entities
entity MegaMan.Common.Entities.EntityInfo
snapX int
snapY int
return MegaMan.Common.Entities

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 canvas, Point location ) : void
canvas MegaMan.Editor.Controls.ScreenCanvas
location MegaMan.Common.Geometry.Point
return void