Свойство | Type | Description | |
---|---|---|---|
texture | Microsoft.Xna.Framework.Graphics.Texture2D |
Méthode | Description | |
---|---|---|
CheckBoundries ( int scrnWidth, int scrnHeight ) : void | ||
DrawPlayer ( |
||
GetPlayerHitbox ( ) : |
||
Load ( Microsoft.Xna.Framework.Content.ContentManager content ) : void | ||
Move ( ) : void | ||
Player ( ) : System | ||
Player ( Vector2 pos, Microsoft.Xna.Framework.Graphics.Texture2D texture ) : System | ||
SlowDown ( ) : void | ||
Update ( |
public CheckBoundries ( int scrnWidth, int scrnHeight ) : void | ||
scrnWidth | int | |
scrnHeight | int | |
Résultat | void |
public DrawPlayer ( |
||
batch | ||
content | Microsoft.Xna.Framework.Content.ContentManager | |
Résultat | void |
public GetPlayerHitbox ( ) : |
||
Résultat |
public Load ( Microsoft.Xna.Framework.Content.ContentManager content ) : void | ||
content | Microsoft.Xna.Framework.Content.ContentManager | |
Résultat | void |
public Player ( Vector2 pos, Microsoft.Xna.Framework.Graphics.Texture2D texture ) : System | ||
pos | Vector2 | |
texture | Microsoft.Xna.Framework.Graphics.Texture2D | |
Résultat | System |
public Update ( |
||
gameTime | ||
Résultat | void |