Метод | Описание | |
---|---|---|
Advance ( ) : void | ||
Bump ( ) : void | ||
Bump ( Enumeration priority ) : void | ||
Bump ( Enumeration priority, Enumeration reverse ) : void | ||
Burned ( Enumeration priority ) : void | ||
CheckItemOnFloor ( ) : void | ||
ClimbDown ( ) : void | ||
ClimbFail ( ) : void | ||
ClimbUp ( ) : void | ||
Crawl ( ) : void | ||
Crouch ( ) : void | ||
Crouch ( Enumeration priority ) : void | ||
Crouch ( Enumeration priority, System |
||
Crouch ( Enumeration priority, System |
||
Crouch ( System |
||
Draw ( |
Draws the animated player.
|
|
DrinkPotion ( ) : void | ||
DrinkPotionBig ( ) : void | ||
Engarde ( ) : void | ||
Engarde ( Enumeration priority, System |
||
Engarde ( Enumeration priority, System |
||
Engarde ( System |
||
GoDown ( ) : void | ||
GoDown ( Enumeration priority ) : void | ||
GoDown ( Enumeration priority, Vector2 offSet ) : void | ||
GoDown ( Vector2 offSet ) : void | ||
HandleCollisionsNew ( ) : void | ||
Hang ( ) : void | ||
HangDrop ( ) : void | ||
HighJump ( ) : void | ||
Impale ( ) : void | ||
Impale ( Enumeration priority ) : void | ||
JumpHangLong ( ) : void | ||
JumpHangMed ( ) : void | ||
OnReachedExit ( ) : void |
Called when this player reaches the level's exit.
|
|
ParseInput ( Enumeration input ) : void | ||
PickupSword ( ) : void | ||
Player ( |
Constructors a new player.
|
|
Question ( ) : void | ||
RJumpFall ( ) : void | ||
RJumpFall ( Enumeration priority ) : void | ||
RJumpFall ( Enumeration priority, Enumeration reverse ) : void | ||
Reset ( SpriteEffects spriteeffect ) : void | ||
Reset ( Vector2 position, SpriteEffects spriteEffect ) : void |
Resets the player to life.
|
|
Retreat ( ) : void | ||
RunJump ( ) : void | ||
RunStop ( ) : void | ||
RunStop ( Enumeration priority ) : void | ||
RunTurn ( ) : void | ||
Stand ( ) : void | ||
Stand ( Enumeration priority ) : void | ||
Stand ( Enumeration priority, System |
||
Stand ( bool stoppable ) : void | ||
StandJump ( ) : void | ||
StandJump ( Enumeration priority ) : void | ||
StandUp ( ) : void | ||
StandUp ( Enumeration priority ) : void | ||
Start ( Vector2 position ) : void |
Start position the player to life.
|
|
StartLevel ( |
||
StartRunning ( ) : void | ||
StepFall ( ) : void | ||
StepFall ( Enumeration priority ) : void | ||
StepFall ( Enumeration priority, Vector2 offSet ) : void | ||
StepForward ( ) : void | ||
Stoop ( ) : void | ||
Stoop ( Enumeration priority ) : void | ||
Stoop ( Enumeration priority, Vector2 offSet ) : void | ||
Stoop ( Vector2 offSet ) : void | ||
Strike ( ) : void | ||
Strike ( Enumeration priority ) : void | ||
Turn ( ) : 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. |
Метод | Описание | |
---|---|---|
GetInput ( |
Gets player horizontal movement and jump commands from input.
|
|
IsDownOfBlock ( bool isForClimbDown ) : System.Nullable |
||
IsFrontOfBlock ( bool isForHang ) : System.Nullable |
||
LoadContent ( ) : void |
Loads the player sprite sheet and sounds.
|
|
isBehind ( |
||
isClimbable ( ) : Enumeration.State |
Remnber: for example the top gate is x=3 y=1 first row bottom = 2 the top row = 0..
|
|
isClimbableDown ( ) : bool | ||
isLoosable ( ) : bool |
public Bump ( Enumeration priority ) : void | ||
priority | Enumeration | |
Результат | void |
public Bump ( Enumeration priority, Enumeration reverse ) : void | ||
priority | Enumeration | |
reverse | Enumeration | |
Результат | void |
public Burned ( Enumeration priority ) : void | ||
priority | Enumeration | |
Результат | void |
public Crouch ( Enumeration priority ) : void | ||
priority | Enumeration | |
Результат | void |
public Crouch ( Enumeration priority, System |
||
priority | Enumeration | |
stoppable | System |
|
Результат | void |
public Crouch ( Enumeration priority, System |
||
priority | Enumeration | |
stoppable | System |
|
offset | Vector2 | |
Результат | void |
public Draw ( |
||
gameTime | ||
spriteBatch | ||
Результат | void |
public Engarde ( Enumeration priority, System |
||
priority | Enumeration | |
stoppable | System |
|
Результат | void |
public Engarde ( Enumeration priority, System |
||
priority | Enumeration | |
stoppable | System |
|
offset | Vector2 | |
Результат | void |
public Engarde ( System |
||
stoppable | System |
|
Результат | void |
public GoDown ( Enumeration priority ) : void | ||
priority | Enumeration | |
Результат | void |
public GoDown ( Enumeration priority, Vector2 offSet ) : void | ||
priority | Enumeration | |
offSet | Vector2 | |
Результат | void |
public Impale ( Enumeration priority ) : void | ||
priority | Enumeration | |
Результат | void |
public ParseInput ( Enumeration input ) : void | ||
input | Enumeration | |
Результат | void |
public Player ( |
||
room | ||
position | Vector2 | |
roomcoords | Point | |
GraphicsDevice__1 | GraphicsDevice | |
spriteEffect | SpriteEffects | |
Результат | System |
public RJumpFall ( Enumeration priority ) : void | ||
priority | Enumeration | |
Результат | void |
public RJumpFall ( Enumeration priority, Enumeration reverse ) : void | ||
priority | Enumeration | |
reverse | Enumeration | |
Результат | void |
public Reset ( SpriteEffects spriteeffect ) : void | ||
spriteeffect | SpriteEffects | |
Результат | void |
public Reset ( Vector2 position, SpriteEffects spriteEffect ) : void | ||
position | Vector2 | The position to come to life at. |
spriteEffect | SpriteEffects | |
Результат | void |
public RunStop ( Enumeration priority ) : void | ||
priority | Enumeration | |
Результат | void |
public Stand ( Enumeration priority ) : void | ||
priority | Enumeration | |
Результат | void |
public Stand ( Enumeration priority, System |
||
priority | Enumeration | |
stoppable | System |
|
Результат | void |
public StandJump ( Enumeration priority ) : void | ||
priority | Enumeration | |
Результат | void |
public StandUp ( Enumeration priority ) : void | ||
priority | Enumeration | |
Результат | void |
public Start ( Vector2 position ) : void | ||
position | Vector2 | The position to come to life at. |
Результат | void |
public StepFall ( Enumeration priority ) : void | ||
priority | Enumeration | |
Результат | void |
public StepFall ( Enumeration priority, Vector2 offSet ) : void | ||
priority | Enumeration | |
offSet | Vector2 | |
Результат | void |
public Stoop ( Enumeration priority ) : void | ||
priority | Enumeration | |
Результат | void |
public Stoop ( Enumeration priority, Vector2 offSet ) : void | ||
priority | Enumeration | |
offSet | Vector2 | |
Результат | void |
public Strike ( Enumeration priority ) : void | ||
priority | Enumeration | |
Результат | void |
public Update ( |
||
gameTime | ||
keyboardState | ||
gamePadState | ||
touchState | TouchCollection | |
accelState | AccelerometerState | |
orientation | DisplayOrientation | |
Результат | void |