메소드 | 설명 | |
---|---|---|
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 |