프로퍼티 | 타입 | 설명 | |
---|---|---|---|
FaceDir | int | ||
Life | int |
메소드 | 설명 | |
---|---|---|
Draw ( |
||
Hero ( Texture2D spritesheet, Rectangle hitbox, Vector2 hitboxoffset ) : System | ||
OnBoxCollision ( Entity collided, Rectangle intersect ) : void | ||
Reset ( ) : void | ||
Update ( GameTime gameTime, Map gameMap ) : void |
메소드 | 설명 | |
---|---|---|
CheckMapCollisions ( |
public Draw ( |
||
sb | ||
리턴 | void |
public Hero ( Texture2D spritesheet, Rectangle hitbox, Vector2 hitboxoffset ) : System | ||
spritesheet | Texture2D | |
hitbox | Rectangle | |
hitboxoffset | Vector2 | |
리턴 | System |
public OnBoxCollision ( Entity collided, Rectangle intersect ) : void | ||
collided | Entity | |
intersect | Rectangle | |
리턴 | void |
public Update ( GameTime gameTime, Map gameMap ) : void | ||
gameTime | GameTime | |
gameMap | Map | |
리턴 | void |