C# Class PGCGame.Screens.GameScreen

Inheritance: PGCGame.CoreTypes.BaseScreen
Afficher le fichier Open project: GreatMindsRobotics/PGCGame Class Usage Examples

Méthodes publiques

Свойство Type Description
MPEnemyDeadTime System.TimeSpan
ScreensToAllowMusicProcessing ScreenType[]
World Microsoft.Xna.Framework.Graphics.SpriteBatch

Méthodes publiques

Méthode Description
GameScreen ( SpriteBatch spriteBatch ) : System
InitScreen ( ScreenType screenType ) : void
InitializeScreen ( ShipStats ship, bool spawnEnemies ) : void
MiscellaneousProcessing ( ) : void
NetworkData_DataReceived ( object sender, Glib e ) : void
OpenSpriteBatch ( SpriteBatch &sb ) : void
Options_ScreenResolutionChanged ( object sender, ViewportEventArgs e ) : void
RegenerateClones ( ) : void
ResetLastKS ( ) : void
Update ( GameTime gameTime ) : void
bgspr_Drawn ( object sender, EventArgs e ) : void
miniMap_Updated ( object sender, EventArgs e ) : void
playerShip_BulletFired ( object sender, BulletEventArgs e ) : void

Called when the player fires a bullet.

Currently only houses multiplayer bullet sending code.

playerShip_WCMoved ( object sender, EventArgs e ) : void

Private Methods

Méthode Description
addShipToMinimap ( Ship ship, Ship &activeMiniShipDisplay ) : void
wcMovePreUpdate ( object o, EventArgs ea ) : void

Method Details

GameScreen() public méthode

public GameScreen ( SpriteBatch spriteBatch ) : System
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
Résultat System

InitScreen() public méthode

public InitScreen ( ScreenType screenType ) : void
screenType ScreenType
Résultat void

InitializeScreen() public méthode

public InitializeScreen ( ShipStats ship, bool spawnEnemies ) : void
ship PGCGame.CoreTypes.ShipStats
spawnEnemies bool
Résultat void

MiscellaneousProcessing() public méthode

public MiscellaneousProcessing ( ) : void
Résultat void

NetworkData_DataReceived() public méthode

public NetworkData_DataReceived ( object sender, Glib e ) : void
sender object
e Glib
Résultat void

OpenSpriteBatch() public méthode

public OpenSpriteBatch ( SpriteBatch &sb ) : void
sb Microsoft.Xna.Framework.Graphics.SpriteBatch
Résultat void

Options_ScreenResolutionChanged() public méthode

public Options_ScreenResolutionChanged ( object sender, ViewportEventArgs e ) : void
sender object
e PGCGame.CoreTypes.ViewportEventArgs
Résultat void

RegenerateClones() public méthode

public RegenerateClones ( ) : void
Résultat void

ResetLastKS() public méthode

public ResetLastKS ( ) : void
Résultat void

Update() public méthode

public Update ( GameTime gameTime ) : void
gameTime GameTime
Résultat void

bgspr_Drawn() public méthode

public bgspr_Drawn ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

miniMap_Updated() public méthode

public miniMap_Updated ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

playerShip_BulletFired() public méthode

Called when the player fires a bullet.
Currently only houses multiplayer bullet sending code.
public playerShip_BulletFired ( object sender, BulletEventArgs e ) : void
sender object
e PGCGame.CoreTypes.BulletEventArgs
Résultat void

playerShip_WCMoved() public méthode

public playerShip_WCMoved ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

Property Details

MPEnemyDeadTime public_oe static_oe property

public static TimeSpan,System MPEnemyDeadTime
Résultat System.TimeSpan

ScreensToAllowMusicProcessing public_oe static_oe property

public static ScreenType[] ScreensToAllowMusicProcessing
Résultat ScreenType[]

World public_oe static_oe property

public static SpriteBatch,Microsoft.Xna.Framework.Graphics World
Résultat Microsoft.Xna.Framework.Graphics.SpriteBatch