Метод | Описание | |
---|---|---|
Advance ( |
||
Draw ( |
Draws the animated player.
|
|
Engarde ( ) : void | ||
Engarde ( Enumeration priority, System |
||
HandleCollisionsNew ( ) : void | ||
Ready ( ) : void | ||
Ready ( Enumeration priority, System |
||
Reset ( Vector2 position, SpriteEffects spriteEffect ) : void |
Resets the player to life.
|
|
Serpent ( |
Constructors a new player.
|
|
SerpentEngarde ( ) : void | ||
SerpentEngarde ( Enumeration priority, System |
||
Stand ( ) : void | ||
Stand ( Enumeration priority ) : void | ||
Stand ( Enumeration priority, System |
||
Stand ( bool stoppable ) : void | ||
Update ( |
Handles input, performs physics, and animates the player sprite. We pass in all of the input states so that our game is only polling the hardware once per frame. We also pass the game's orientation because when using the accelerometer, we need to reverse our motion when the orientation is in the LandscapeRight orientation. |
Метод | Описание | |
---|---|---|
LoadContent ( ) : void |
public Advance ( |
||
position__1 | ||
flip | SpriteEffects | |
Результат | void |
public Draw ( |
||
gameTime | ||
spriteBatch | ||
Результат | void |
public Engarde ( Enumeration priority, System |
||
priority | Enumeration | |
stoppable | System |
|
Результат | void |
public Ready ( Enumeration priority, System |
||
priority | Enumeration | |
stoppable | System |
|
Результат | void |
public Reset ( Vector2 position, SpriteEffects spriteEffect ) : void | ||
position | Vector2 | The position to come to life at. |
spriteEffect | SpriteEffects | |
Результат | void |
public Serpent ( |
||
room | ||
position | Vector2 | |
GraphicsDevice__1 | GraphicsDevice | |
spriteEffect | SpriteEffects | |
Результат | System |
public SerpentEngarde ( Enumeration priority, System |
||
priority | Enumeration | |
stoppable | System |
|
Результат | void |
public Stand ( Enumeration priority ) : void | ||
priority | Enumeration | |
Результат | void |
public Stand ( Enumeration priority, System |
||
priority | Enumeration | |
stoppable | System |
|
Результат | void |
public Update ( |
||
gameTime | ||
keyboardState | ||
gamePadState | ||
touchState | TouchCollection | |
accelState | AccelerometerState | |
orientation | DisplayOrientation | |
Результат | void |