C# 클래스 OurSonic.Level.HeightMap

파일 보기 프로젝트 열기: OurSonic/OurSonicSharp

공개 프로퍼티들

프로퍼티 타입 설명
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[]