Property | Type | Description | |
---|---|---|---|
FaceDir | int | ||
Life | int |
Method | Description | |
---|---|---|
Draw ( |
||
Hero ( Texture2D spritesheet, Rectangle hitbox, Vector2 hitboxoffset ) : System | ||
OnBoxCollision ( Entity collided, Rectangle intersect ) : void | ||
Reset ( ) : void | ||
Update ( GameTime gameTime, Map gameMap ) : void |
Method | Description | |
---|---|---|
CheckMapCollisions ( |
public Draw ( |
||
sb | ||
return | void |
public Hero ( Texture2D spritesheet, Rectangle hitbox, Vector2 hitboxoffset ) : System | ||
spritesheet | Texture2D | |
hitbox | Rectangle | |
hitboxoffset | Vector2 | |
return | System |
public OnBoxCollision ( Entity collided, Rectangle intersect ) : void | ||
collided | Entity | |
intersect | Rectangle | |
return | void |
public Update ( GameTime gameTime, Map gameMap ) : void | ||
gameTime | GameTime | |
gameMap | Map | |
return | void |