C# Class OurSonic.Level.Objects.LevelObjectPieceLayout

Mostra file Open project: OurSonic/OurSonicSharp Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
Draw ( CanvasRenderingContext2D canvas, int x, int y, LevelObject framework, LevelObjectInfo instance, bool showHeightMap ) : void
DrawUI ( CanvasRenderingContext2D canvas, bool showImages, int selectedPieceIndex, LevelObject levelObject ) : void
GetRectangle ( LevelObject levelObject ) : Rectangle
LevelObjectPieceLayout ( string name ) : System
Update ( ) : void

Method Details

Draw() public method

public Draw ( CanvasRenderingContext2D canvas, int x, int y, LevelObject framework, LevelObjectInfo instance, bool showHeightMap ) : void
canvas System.Html.Media.Graphics.CanvasRenderingContext2D
x int
y int
framework LevelObject
instance LevelObjectInfo
showHeightMap bool
return void

DrawUI() public method

public DrawUI ( CanvasRenderingContext2D canvas, bool showImages, int selectedPieceIndex, LevelObject levelObject ) : void
canvas System.Html.Media.Graphics.CanvasRenderingContext2D
showImages bool
selectedPieceIndex int
levelObject LevelObject
return void

GetRectangle() public method

public GetRectangle ( LevelObject levelObject ) : Rectangle
levelObject LevelObject
return OurSonic.Utility.Rectangle

LevelObjectPieceLayout() public method

public LevelObjectPieceLayout ( string name ) : System
name string
return System

Update() public method

public Update ( ) : void
return void