C# Класс OurSonic.Level.HeightMap

Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
colors string[]

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
Draw ( CanvasRenderingContext2D canvas, Point pos, bool xflip, bool yflip, int solid, int angle ) : void
HeightMap ( bool full ) : System
HeightMap ( int heightMap, int i ) : System
ItemsGood ( int items, int x, int y ) : bool
SetItem ( int x, int y, RotationMode rotationMode ) : void

Описание методов

Draw() публичный Метод

public Draw ( CanvasRenderingContext2D canvas, Point pos, bool xflip, bool yflip, int solid, int angle ) : void
canvas System.Html.Media.Graphics.CanvasRenderingContext2D
pos Point
xflip bool
yflip bool
solid int
angle int
Результат void

HeightMap() публичный Метод

public HeightMap ( bool full ) : System
full bool
Результат System

HeightMap() публичный Метод

public HeightMap ( int heightMap, int i ) : System
heightMap int
i int
Результат System

ItemsGood() публичный статический Метод

public static ItemsGood ( int items, int x, int y ) : bool
items int
x int
y int
Результат bool

SetItem() публичный Метод

public SetItem ( int x, int y, RotationMode rotationMode ) : void
x int
y int
rotationMode RotationMode
Результат void

Описание свойств

colors публичное статическое свойство

public static string[] colors
Результат string[]