C# Class OurSonic.Areas.Editor

Afficher le fichier Open project: OurSonic/OurSonicSharp Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode 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 méthode

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
Résultat void

DrawLine() public méthode

public DrawLine ( Point locationa, Point location2 ) : void
locationa Point
location2 Point
Résultat void

DrawPixel() public méthode

public DrawPixel ( Point location1 ) : void
location1 Point
Résultat void

Editor() public méthode

public Editor ( LevelObjectAssetFrame assetFrame, bool showOffset ) : System
assetFrame OurSonic.Level.Objects.LevelObjectAssetFrame
showOffset bool
Résultat System