C# Class OurSonic.Areas.Editor

Mostra file Open project: OurSonic/OurSonicSharp Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
Draw ( CanvasRenderingContext2D canvas, Point pos, Point size, bool showCollideMap, bool showHurtMap ) : void
DrawLine ( Point locationa, Point location2 ) : void
DrawPixel ( Point location1 ) : void
Editor ( LevelObjectAssetFrame assetFrame, bool showOffset ) : System

Method Details

Draw() public method

public Draw ( CanvasRenderingContext2D canvas, Point pos, Point size, bool showCollideMap, bool showHurtMap ) : void
canvas System.Html.Media.Graphics.CanvasRenderingContext2D
pos Point
size Point
showCollideMap bool
showHurtMap bool
return void

DrawLine() public method

public DrawLine ( Point locationa, Point location2 ) : void
locationa Point
location2 Point
return void

DrawPixel() public method

public DrawPixel ( Point location1 ) : void
location1 Point
return void

Editor() public method

public Editor ( LevelObjectAssetFrame assetFrame, bool showOffset ) : System
assetFrame OurSonic.Level.Objects.LevelObjectAssetFrame
showOffset bool
return System