C# 클래스 Azmyth.Assets.TerrainChunk

상속: Asset, IDisposable
파일 보기 프로젝트 열기: GalacticSoft/Azmyth 1 사용 예제들

공개 메소드들

메소드 설명
Dispose ( ) : void
GetTile ( int x, int y ) : TerrainTile
GetTiles ( ) : List
GetTiles ( RectangleF bounds ) : List
TerrainChunk ( World world, RectangleF chunkBounds ) : System

Loads tiles from world that are contained within chunkBounds

TerrainChunk ( World world, int offsetX, int offsetY, int radius ) : System

Loads tiles from world that are contained within chunkBounds

this ( int x, int y ) : TerrainTile
this ( TerrainTypes type ) : long

비공개 메소드들

메소드 설명
TerrainChunk ( ) : System

메소드 상세

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

GetTile() 공개 메소드

public GetTile ( int x, int y ) : TerrainTile
x int
y int
리턴 TerrainTile

GetTiles() 공개 메소드

public GetTiles ( ) : List
리턴 List

GetTiles() 공개 메소드

public GetTiles ( RectangleF bounds ) : List
bounds System.Drawing.RectangleF
리턴 List

TerrainChunk() 공개 메소드

Loads tiles from world that are contained within chunkBounds
public TerrainChunk ( World world, RectangleF chunkBounds ) : System
world World
chunkBounds System.Drawing.RectangleF
리턴 System

TerrainChunk() 공개 메소드

Loads tiles from world that are contained within chunkBounds
public TerrainChunk ( World world, int offsetX, int offsetY, int radius ) : System
world World
offsetX int
offsetY int
radius int
리턴 System

this() 공개 메소드

public this ( int x, int y ) : TerrainTile
x int
y int
리턴 TerrainTile

this() 공개 메소드

public this ( TerrainTypes type ) : long
type TerrainTypes
리턴 long