Свойство | Type | Description | |
---|---|---|---|
FaceDir | int | ||
Life | int |
Méthode | Description | |
---|---|---|
Draw ( |
||
Hero ( Texture2D spritesheet, Rectangle hitbox, Vector2 hitboxoffset ) : System | ||
OnBoxCollision ( Entity collided, Rectangle intersect ) : void | ||
Reset ( ) : void | ||
Update ( GameTime gameTime, Map gameMap ) : void |
Méthode | Description | |
---|---|---|
CheckMapCollisions ( |
public Draw ( |
||
sb | ||
Résultat | void |
public Hero ( Texture2D spritesheet, Rectangle hitbox, Vector2 hitboxoffset ) : System | ||
spritesheet | Texture2D | |
hitbox | Rectangle | |
hitboxoffset | Vector2 | |
Résultat | System |
public OnBoxCollision ( Entity collided, Rectangle intersect ) : void | ||
collided | Entity | |
intersect | Rectangle | |
Résultat | void |
public Update ( GameTime gameTime, Map gameMap ) : void | ||
gameTime | GameTime | |
gameMap | Map | |
Résultat | void |