C# 클래스 Terrarium.Renderer.World

Creates a Terrarium mapping world given a target height and width. Used by the TerrariumDirectDrawGameView to render the background
파일 보기 프로젝트 열기: eugeniomiro/Terrarium 1 사용 예제들

Private Properties

프로퍼티 타입 설명
CreateWorld System.Drawing.Rectangle
MiniMapPass void
TileFilterPass void
TileOffsetPass void
World System

비공개 메소드들

메소드 설명
CreateWorld ( int xPixels, int yPixels ) : Rectangle

Initializes the mapping using a target number pixels.

MiniMapPass ( ) : void

Runs a MinMap pass over the World object to create a small version of the world.

TileFilterPass ( ) : void

Turns the map into a series of tiles that can index into the background sprite sheet.

TileOffsetPass ( ) : void

Computes the viewport offsets for tiles so that the information is available during rendering and doesn't have to be computed on the fly.

World ( ) : System