C# 클래스 PlayDead.Map

파일 보기 프로젝트 열기: zmthy/play-dead 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
height int
width int

공개 메소드들

메소드 설명
DrawMap ( SpriteBatch spriteBatch, Microsoft.Xna.Framework.Graphics.Texture2D tileSheet ) : void
Map ( GraphicsDevice graphics, Microsoft.Xna.Framework.Graphics.Texture2D tileSheet ) : System
Set ( int y, int x, Tile currentTile ) : void
getType ( int y, int x ) : Tile

메소드 상세

DrawMap() 공개 메소드

public DrawMap ( SpriteBatch spriteBatch, Microsoft.Xna.Framework.Graphics.Texture2D tileSheet ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
tileSheet Microsoft.Xna.Framework.Graphics.Texture2D
리턴 void

Map() 공개 메소드

public Map ( GraphicsDevice graphics, Microsoft.Xna.Framework.Graphics.Texture2D tileSheet ) : System
graphics GraphicsDevice
tileSheet Microsoft.Xna.Framework.Graphics.Texture2D
리턴 System

Set() 공개 메소드

public Set ( int y, int x, Tile currentTile ) : void
y int
x int
currentTile Tile
리턴 void

getType() 공개 정적인 메소드

public static getType ( int y, int x ) : Tile
y int
x int
리턴 Tile

프로퍼티 상세

height 공개적으로 정적으로 프로퍼티

public static int height
리턴 int

width 공개적으로 정적으로 프로퍼티

public static int width
리턴 int