C# 클래스 invertika_game.Game.Map

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

공개 메소드들

메소드 설명
Map ( int width, int height, int tileWidth, int tileHeight ) : System
addObject ( MapObject obj ) : void
blockTile ( int x, int y, BlockType type ) : void
freeTile ( int x, int y, BlockType type ) : void
getHeight ( ) : int
getObjects ( ) : List
getProperty ( string key ) : string
getTileHeight ( ) : int
getTileWidth ( ) : int
getWalk ( int x, int y, byte walkmask ) : bool
getWidth ( ) : int
setProperty ( string key, string val ) : void

비공개 메소드들

메소드 설명
setSize ( int width, int height ) : void

메소드 상세

Map() 공개 메소드

public Map ( int width, int height, int tileWidth, int tileHeight ) : System
width int
height int
tileWidth int
tileHeight int
리턴 System

addObject() 공개 메소드

public addObject ( MapObject obj ) : void
obj MapObject
리턴 void

blockTile() 공개 메소드

public blockTile ( int x, int y, BlockType type ) : void
x int
y int
type BlockType
리턴 void

freeTile() 공개 메소드

public freeTile ( int x, int y, BlockType type ) : void
x int
y int
type BlockType
리턴 void

getHeight() 공개 메소드

public getHeight ( ) : int
리턴 int

getObjects() 공개 메소드

public getObjects ( ) : List
리턴 List

getProperty() 공개 메소드

public getProperty ( string key ) : string
key string
리턴 string

getTileHeight() 공개 메소드

public getTileHeight ( ) : int
리턴 int

getTileWidth() 공개 메소드

public getTileWidth ( ) : int
리턴 int

getWalk() 공개 메소드

public getWalk ( int x, int y, byte walkmask ) : bool
x int
y int
walkmask byte
리턴 bool

getWidth() 공개 메소드

public getWidth ( ) : int
리턴 int

setProperty() 공개 메소드

public setProperty ( string key, string val ) : void
key string
val string
리턴 void