C# Class OurSonic.Areas.PieceLayoutEditor

Inheritance: OurSonic.UIManager.Element
Exibir arquivo Open project: OurSonic/OurSonicSharp

Private Properties

Property Type Description

Public Methods

Method Description
Draw ( CanvasRenderingContext2D canv ) : void
Init ( LevelObjectPieceLayout pieceLayout ) : void
OnClick ( Pointer e ) : bool
OnMouseOver ( Pointer e ) : bool
OnMouseUp ( Pointer e ) : bool
OnScroll ( Pointer e ) : bool
PieceLayoutEditor ( int x, int y, Point size ) : System.Html.Media.Graphics

Method Details

Draw() public method

public Draw ( CanvasRenderingContext2D canv ) : void
canv System.Html.Media.Graphics.CanvasRenderingContext2D
return void

Init() public method

public Init ( LevelObjectPieceLayout pieceLayout ) : void
pieceLayout OurSonic.Level.Objects.LevelObjectPieceLayout
return void

OnClick() public method

public OnClick ( Pointer e ) : bool
e OurSonic.UIManager.Pointer
return bool

OnMouseOver() public method

public OnMouseOver ( Pointer e ) : bool
e OurSonic.UIManager.Pointer
return bool

OnMouseUp() public method

public OnMouseUp ( Pointer e ) : bool
e OurSonic.UIManager.Pointer
return bool

OnScroll() public method

public OnScroll ( Pointer e ) : bool
e OurSonic.UIManager.Pointer
return bool

PieceLayoutEditor() public method

public PieceLayoutEditor ( int x, int y, Point size ) : System.Html.Media.Graphics
x int
y int
size OurSonic.Utility.Point
return System.Html.Media.Graphics