Метод | Описание | |
---|---|---|
Damage ( int value ) : void |
Damages the player.
|
|
Draw ( |
Draws the Player.
|
|
IntersectsWith ( IDynamicHitbox dynamicHitbox ) : bool |
A value indicating whether the hitbox intersects with another.
|
|
Player ( |
Initializes a new Player class.
|
|
Update ( |
Updates the Player.
|
public Draw ( |
||
spriteBatch | The spriteBatch. | |
gameTime | The GameTime. | |
Результат | void |
public IntersectsWith ( IDynamicHitbox dynamicHitbox ) : bool | ||
dynamicHitbox | IDynamicHitbox | The other DynamicHitbox. |
Результат | bool |
public Player ( |
||
playerTexture | The PlayerTexture. | |
Результат | Sharpex2D |
public Update ( |
||
gameTime | The GameTime. | |
Результат | void |