C# 클래스 OurSonic.Level.Objects.LevelObjectAssetFrame

파일 보기 프로젝트 열기: OurSonic/OurSonicSharp 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
ClearCache ( ) : void
DrawSimple ( CanvasRenderingContext2D mainCanvas, Point pos, int width, int height, bool xflip, bool yflip ) : void
DrawUI ( CanvasRenderingContext2D _canvas, Point pos, bool showOutline, bool showCollideMap, bool showHurtMap, bool showOffset, bool xflip, bool yflip ) : void
GetCache ( bool showOutline, bool showCollideMap, bool showHurtMap ) : CanvasInformation
LevelObjectAssetFrame ( string name ) : System
SetCache ( CanvasInformation image, bool showOutline, bool showCollideMap, bool showHurtMap ) : void
SetHeight ( int h ) : void
SetOffset ( int ex, int ey ) : void
SetWidth ( int w ) : void

메소드 상세

ClearCache() 공개 메소드

public ClearCache ( ) : void
리턴 void

DrawSimple() 공개 메소드

public DrawSimple ( CanvasRenderingContext2D mainCanvas, Point pos, int width, int height, bool xflip, bool yflip ) : void
mainCanvas System.Html.Media.Graphics.CanvasRenderingContext2D
pos Point
width int
height int
xflip bool
yflip bool
리턴 void

DrawUI() 공개 메소드

public DrawUI ( CanvasRenderingContext2D _canvas, Point pos, bool showOutline, bool showCollideMap, bool showHurtMap, bool showOffset, bool xflip, bool yflip ) : void
_canvas System.Html.Media.Graphics.CanvasRenderingContext2D
pos Point
showOutline bool
showCollideMap bool
showHurtMap bool
showOffset bool
xflip bool
yflip bool
리턴 void

GetCache() 공개 메소드

public GetCache ( bool showOutline, bool showCollideMap, bool showHurtMap ) : CanvasInformation
showOutline bool
showCollideMap bool
showHurtMap bool
리턴 OurSonic.Utility.CanvasInformation

LevelObjectAssetFrame() 공개 메소드

public LevelObjectAssetFrame ( string name ) : System
name string
리턴 System

SetCache() 공개 메소드

public SetCache ( CanvasInformation image, bool showOutline, bool showCollideMap, bool showHurtMap ) : void
image OurSonic.Utility.CanvasInformation
showOutline bool
showCollideMap bool
showHurtMap bool
리턴 void

SetHeight() 공개 메소드

public SetHeight ( int h ) : void
h int
리턴 void

SetOffset() 공개 메소드

public SetOffset ( int ex, int ey ) : void
ex int
ey int
리턴 void

SetWidth() 공개 메소드

public SetWidth ( int w ) : void
w int
리턴 void