메소드 | 설명 | |
---|---|---|
DamageMe ( int amount ) : void |
Damages this jet for the amount passed in
|
|
Draw ( float elapsedTime, |
The draw method that gets called each draw cycle
|
|
SetFireStage ( TwinJetFireState newState ) : void |
Changes the firing stage that this jet is at if necessary
|
|
SetPattern ( BossFlightPattern newPattern ) : void |
Sets the current flight pattern to the new pattern
|
|
StopIntro ( ) : void |
Notifies this jet that it's intro is completed
|
|
TwinJet ( uint id, Microsoft.Xna.Framework.Content.ContentManager content, |
Creates a shiny new jet
|
|
Update ( float elapsedTime ) : void |
The update method that gets called each update cycle
|
메소드 | 설명 | |
---|---|---|
Explode ( ) : void |
Handles exploding for this jet
|
|
FireGun ( ) : void |
Handles firing the gun for this jet
|
|
FireMissiles ( ) : void |
Handles firing missiles for this jet
|
|
Fly ( ) : void |
Handles flying for this jet
|
|
checkIfDamaged ( ) : void |
Checks if this jet is damaged yet
|
|
checkIfGunDestroyed ( ) : void |
checks if this jet still has its guns
|
|
checkIfGunIsReady ( ) : bool |
Check if this jet is ready to fire a bullet
|
|
checkIfIntroIsOver ( ) : void |
Checks if the intro for this jet is over
|
|
checkIfIsAlive ( ) : void |
Check if this jet is even alive
|
|
checkIfMissilesReady ( ) : bool |
Check if this jet is ready to fire a missile
|
|
onEntry ( ) : void |
Called when the overall state of this jet is changed
|
|
onFrame ( float elapsedTime ) : void |
Called every update and performs according to the current state
|
public DamageMe ( int amount ) : void | ||
amount | int | The amount of damage to deal |
리턴 | void |
public Draw ( float elapsedTime, |
||
elapsedTime | float | The time elapsed since the last call |
spriteBatch | The sprite batch to draw things into | |
리턴 | void |
public SetFireStage ( TwinJetFireState newState ) : void | ||
newState | TwinJetFireState | The new state to enter |
리턴 | void |
public SetPattern ( BossFlightPattern newPattern ) : void | ||
newPattern | BossFlightPattern | The new pattern to use |
리턴 | void |
public TwinJet ( uint id, Microsoft.Xna.Framework.Content.ContentManager content, |
||
id | uint | the factory id on the underside of this jet |
content | Microsoft.Xna.Framework.Content.ContentManager | The content manager to use |
newPosition | The position to spawn the jet | |
리턴 | Microsoft.Xna.Framework |
public Update ( float elapsedTime ) : void | ||
elapsedTime | float | The time elapsed since the last call |
리턴 | void |