메소드 |
설명 |
|
Advance ( Position position__1, SpriteEffects flip ) : void |
|
|
Draw ( GameTime gameTime, SpriteBatch spriteBatch ) : void |
Draws the animated player. |
|
Engarde ( ) : void |
|
|
Engarde ( Enumeration priority, System stoppable ) : void |
|
|
HandleCollisionsNew ( ) : void |
|
|
Ready ( ) : void |
|
|
Ready ( Enumeration priority, System stoppable ) : void |
|
|
Reset ( Vector2 position, SpriteEffects spriteEffect ) : void |
Resets the player to life. |
|
Serpent ( RoomNew room, Vector2 position, GraphicsDevice GraphicsDevice__1, SpriteEffects spriteEffect ) : System |
Constructors a new player. |
|
SerpentEngarde ( ) : void |
|
|
SerpentEngarde ( Enumeration priority, System stoppable ) : void |
|
|
Stand ( ) : void |
|
|
Stand ( Enumeration priority ) : void |
|
|
Stand ( Enumeration priority, System stoppable ) : void |
|
|
Stand ( bool stoppable ) : void |
|
|
Update ( GameTime gameTime, KeyboardState keyboardState, GamePadState gamePadState, TouchCollection touchState, AccelerometerState accelState, DisplayOrientation orientation ) : void |
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. |
|