Свойство | Тип | Описание | |
---|---|---|---|
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 |