Метод | Описание | |
---|---|---|
AddScore ( int additionalPoints ) : void | ||
AddVelocity ( Vector2 appliedVelocity, uint maxSpeed = 200000 ) : void | ||
ClearScore ( ) : void | ||
DefaultPlayer ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 position ) : System | ||
Destroy ( ) : void | ||
Fire ( ) : void | ||
HitBy ( IProjectile projectile ) : void | ||
Render ( |
||
ResetGuns ( ) : void | ||
SetVelocity ( Vector2 newVelocity ) : void | ||
Update ( |
||
UpdateWeaponPositions ( ) : void |
Updates the position of each of the weapons so they stay in one place relative to the movement of this enemy instance
|
|
UpgradeGun ( System weaponType ) : void | ||
gameKey_moveDownPressed ( Keys key ) : void | ||
gameKey_moveDownReleased ( Keys key ) : void | ||
gameKey_moveLeftPressed ( Keys key ) : void | ||
gameKey_moveLeftReleased ( Keys key ) : void | ||
gameKey_moveRightPressed ( Keys key ) : void | ||
gameKey_moveRightReleased ( Keys key ) : void | ||
gameKey_moveUpPressed ( Keys key ) : void | ||
gameKey_moveUpReleased ( Keys key ) : void | ||
gameKey_shootPressed ( Keys key ) : void |
Метод | Описание | |
---|---|---|
DebugFlash ( ) : void | ||
EnableKeyboardEvents ( bool enabled ) : void | ||
ResetVelocityOnRevive ( ) : void |
public AddScore ( int additionalPoints ) : void | ||
additionalPoints | int | |
Результат | void |
public AddVelocity ( Vector2 appliedVelocity, uint maxSpeed = 200000 ) : void | ||
appliedVelocity | Vector2 | |
maxSpeed | uint | |
Результат | void |
public DefaultPlayer ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 position ) : System | ||
texture | Microsoft.Xna.Framework.Graphics.Texture2D | |
position | Vector2 | |
Результат | System |
public HitBy ( IProjectile projectile ) : void | ||
projectile | IProjectile | |
Результат | void |
public Render ( |
||
spriteBatch | ||
Результат | void |
public SetVelocity ( Vector2 newVelocity ) : void | ||
newVelocity | Vector2 | |
Результат | void |
public Update ( |
||
gameTime | ||
Результат | void |
public UpgradeGun ( System weaponType ) : void | ||
weaponType | System | |
Результат | void |
public gameKey_moveDownPressed ( Keys key ) : void | ||
key | Keys | |
Результат | void |
public gameKey_moveDownReleased ( Keys key ) : void | ||
key | Keys | |
Результат | void |
public gameKey_moveLeftPressed ( Keys key ) : void | ||
key | Keys | |
Результат | void |
public gameKey_moveLeftReleased ( Keys key ) : void | ||
key | Keys | |
Результат | void |
public gameKey_moveRightPressed ( Keys key ) : void | ||
key | Keys | |
Результат | void |
public gameKey_moveRightReleased ( Keys key ) : void | ||
key | Keys | |
Результат | void |
public gameKey_moveUpPressed ( Keys key ) : void | ||
key | Keys | |
Результат | void |
public gameKey_moveUpReleased ( Keys key ) : void | ||
key | Keys | |
Результат | void |
public gameKey_shootPressed ( Keys key ) : void | ||
key | Keys | |
Результат | void |