C# 클래스 OurSonic.Level.Tiles.TilePiece

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

Private Properties

프로퍼티 타입 설명
getAnimatedPaletteCacheIndex int

공개 메소드들

메소드 설명
DrawAnimatedPalette ( CanvasRenderingContext2D canvas, Point position, ChunkLayer layer, bool xFlip, bool yFlip, int animatedPaletteIndex ) : void
DrawAnimatedTile ( CanvasRenderingContext2D canvas, Point position, ChunkLayer layer, bool xFlip, bool yFlip, int animatedTileIndex ) : void
DrawBase ( CanvasRenderingContext2D canvas, Point position, ChunkLayer layer, bool xFlip, bool yFlip ) : void
GetLayer1Angles ( ) : int
GetLayer1HeightMaps ( ) : HeightMap
GetLayer2Angles ( ) : int
GetLayer2HeightMaps ( ) : HeightMap
Init ( ) : void
OnlyBackground ( ) : bool
OnlyForeground ( ) : bool
ShouldAnimate ( ) : bool

비공개 메소드들

메소드 설명
getAnimatedPaletteCacheIndex ( bool xflip, bool yflip, int animatedPaletteIndex, int frameIndex ) : int

메소드 상세

DrawAnimatedPalette() 공개 메소드

public DrawAnimatedPalette ( CanvasRenderingContext2D canvas, Point position, ChunkLayer layer, bool xFlip, bool yFlip, int animatedPaletteIndex ) : void
canvas System.Html.Media.Graphics.CanvasRenderingContext2D
position Point
layer ChunkLayer
xFlip bool
yFlip bool
animatedPaletteIndex int
리턴 void

DrawAnimatedTile() 공개 메소드

public DrawAnimatedTile ( CanvasRenderingContext2D canvas, Point position, ChunkLayer layer, bool xFlip, bool yFlip, int animatedTileIndex ) : void
canvas System.Html.Media.Graphics.CanvasRenderingContext2D
position Point
layer ChunkLayer
xFlip bool
yFlip bool
animatedTileIndex int
리턴 void

DrawBase() 공개 메소드

public DrawBase ( CanvasRenderingContext2D canvas, Point position, ChunkLayer layer, bool xFlip, bool yFlip ) : void
canvas System.Html.Media.Graphics.CanvasRenderingContext2D
position Point
layer ChunkLayer
xFlip bool
yFlip bool
리턴 void

GetLayer1Angles() 공개 메소드

public GetLayer1Angles ( ) : int
리턴 int

GetLayer1HeightMaps() 공개 메소드

public GetLayer1HeightMaps ( ) : HeightMap
리턴 HeightMap

GetLayer2Angles() 공개 메소드

public GetLayer2Angles ( ) : int
리턴 int

GetLayer2HeightMaps() 공개 메소드

public GetLayer2HeightMaps ( ) : HeightMap
리턴 HeightMap

Init() 공개 메소드

public Init ( ) : void
리턴 void

OnlyBackground() 공개 메소드

public OnlyBackground ( ) : bool
리턴 bool

OnlyForeground() 공개 메소드

public OnlyForeground ( ) : bool
리턴 bool

ShouldAnimate() 공개 메소드

public ShouldAnimate ( ) : bool
리턴 bool