C# Class OurSonic.Level.Objects.LevelObjectPieceLayout

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

Private Properties

Свойство Type Description

Méthodes publiques

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

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

DrawUI() public méthode

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

GetRectangle() public méthode

public GetRectangle ( LevelObject levelObject ) : Rectangle
levelObject LevelObject
Résultat OurSonic.Utility.Rectangle

LevelObjectPieceLayout() public méthode

public LevelObjectPieceLayout ( string name ) : System
name string
Résultat System

Update() public méthode

public Update ( ) : void
Résultat void