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

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

공개 프로퍼티들

프로퍼티 타입 설명
CurrentPaletteAnimationFrameIndexCache List
CurrentTileAnimationFrameIndexCache List

공개 메소드들

메소드 설명
CacheBase ( ChunkLayer layer ) : void
CachePaletteAnimation ( ChunkLayer layer ) : void
CacheTileAnimation ( ChunkLayer layer ) : void
ClearCache ( ) : void
Debug_DrawCache ( ) : CanvasInformation
DrawAnimationDebug ( CanvasRenderingContext2D canvas, Point position, ChunkLayer layer, TileChunkDebugDrawOptions debugDrawOptions ) : void
InitCache ( ) : void
WarmCache ( ) : void

비공개 메소드들

메소드 설명
getAnimationPaletteSurfaceInformation ( int paletteAnimationIndex, ChunkLayer layer ) : Rectangle
getAnimationTileSurfaceInformation ( int tileAnimationIndex, ChunkLayer layer ) : Rectangle

메소드 상세

CacheBase() 공개 메소드

public CacheBase ( ChunkLayer layer ) : void
layer ChunkLayer
리턴 void

CachePaletteAnimation() 공개 메소드

public CachePaletteAnimation ( ChunkLayer layer ) : void
layer ChunkLayer
리턴 void

CacheTileAnimation() 공개 메소드

public CacheTileAnimation ( ChunkLayer layer ) : void
layer ChunkLayer
리턴 void

ClearCache() 공개 메소드

public ClearCache ( ) : void
리턴 void

Debug_DrawCache() 공개 메소드

public Debug_DrawCache ( ) : CanvasInformation
리턴 OurSonic.Utility.CanvasInformation

DrawAnimationDebug() 공개 메소드

public DrawAnimationDebug ( CanvasRenderingContext2D canvas, Point position, ChunkLayer layer, TileChunkDebugDrawOptions debugDrawOptions ) : void
canvas System.Html.Media.Graphics.CanvasRenderingContext2D
position Point
layer ChunkLayer
debugDrawOptions TileChunkDebugDrawOptions
리턴 void

InitCache() 공개 메소드

public InitCache ( ) : void
리턴 void

WarmCache() 공개 메소드

public WarmCache ( ) : void
리턴 void

프로퍼티 상세

CurrentPaletteAnimationFrameIndexCache 공개적으로 프로퍼티

public List CurrentPaletteAnimationFrameIndexCache
리턴 List

CurrentTileAnimationFrameIndexCache 공개적으로 프로퍼티

public List CurrentTileAnimationFrameIndexCache
리턴 List