C# 클래스 Blink.Classes.Map

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

공개 메소드들

메소드 설명
Draw ( SpriteBatch sB ) : void
Initialize ( Microsoft.Xna.Framework.Graphics.Texture2D mText, String cMap, int tS, int mX, int mY, PlayerClass p, Microsoft.Xna.Framework.Graphics.Texture2D power ) : void
blockInfo ( Vector2 pos ) : int
checkFooting ( Vector2 pos ) : int
checkPowerup ( Rectangle r ) : PowerupEnum
collides ( Vector2 pos, Vector2 oPos, int down, int right, Vector2 charSize, System.Boolean blinked, float hitReduce ) : System.Boolean[]
loopCorrection ( float input, float scale ) : float
mapCollisions ( String cMap ) : void
reset ( ) : void
updatePowerup ( GameTime gt ) : void

비공개 메소드들

메소드 설명
collidePowerup ( Rectangle p ) : int

메소드 상세

Draw() 공개 메소드

public Draw ( SpriteBatch sB ) : void
sB Microsoft.Xna.Framework.Graphics.SpriteBatch
리턴 void

Initialize() 공개 메소드

public Initialize ( Microsoft.Xna.Framework.Graphics.Texture2D mText, String cMap, int tS, int mX, int mY, PlayerClass p, Microsoft.Xna.Framework.Graphics.Texture2D power ) : void
mText Microsoft.Xna.Framework.Graphics.Texture2D
cMap String
tS int
mX int
mY int
p PlayerClass
power Microsoft.Xna.Framework.Graphics.Texture2D
리턴 void

blockInfo() 공개 메소드

public blockInfo ( Vector2 pos ) : int
pos Vector2
리턴 int

checkFooting() 공개 메소드

public checkFooting ( Vector2 pos ) : int
pos Vector2
리턴 int

checkPowerup() 공개 메소드

public checkPowerup ( Rectangle r ) : PowerupEnum
r Microsoft.Xna.Framework.Rectangle
리턴 PowerupEnum

collides() 공개 메소드

public collides ( Vector2 pos, Vector2 oPos, int down, int right, Vector2 charSize, System.Boolean blinked, float hitReduce ) : System.Boolean[]
pos Vector2
oPos Vector2
down int
right int
charSize Vector2
blinked System.Boolean
hitReduce float
리턴 System.Boolean[]

loopCorrection() 공개 메소드

public loopCorrection ( float input, float scale ) : float
input float
scale float
리턴 float

mapCollisions() 공개 메소드

public mapCollisions ( String cMap ) : void
cMap String
리턴 void

reset() 공개 메소드

public reset ( ) : void
리턴 void

updatePowerup() 공개 메소드

public updatePowerup ( GameTime gt ) : void
gt Microsoft.Xna.Framework.GameTime
리턴 void