C# 클래스 PGCGame.Screens.GameScreen

상속: PGCGame.CoreTypes.BaseScreen
파일 보기 프로젝트 열기: GreatMindsRobotics/PGCGame 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
MPEnemyDeadTime System.TimeSpan
ScreensToAllowMusicProcessing ScreenType[]
World Microsoft.Xna.Framework.Graphics.SpriteBatch

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
addShipToMinimap ( Ship ship, Ship &activeMiniShipDisplay ) : void
wcMovePreUpdate ( object o, EventArgs ea ) : void

메소드 상세

GameScreen() 공개 메소드

public GameScreen ( SpriteBatch spriteBatch ) : System
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
리턴 System

InitScreen() 공개 메소드

public InitScreen ( ScreenType screenType ) : void
screenType ScreenType
리턴 void

InitializeScreen() 공개 메소드

public InitializeScreen ( ShipStats ship, bool spawnEnemies ) : void
ship PGCGame.CoreTypes.ShipStats
spawnEnemies bool
리턴 void

MiscellaneousProcessing() 공개 메소드

public MiscellaneousProcessing ( ) : void
리턴 void

NetworkData_DataReceived() 공개 메소드

public NetworkData_DataReceived ( object sender, Glib e ) : void
sender object
e Glib
리턴 void

OpenSpriteBatch() 공개 메소드

public OpenSpriteBatch ( SpriteBatch &sb ) : void
sb Microsoft.Xna.Framework.Graphics.SpriteBatch
리턴 void

Options_ScreenResolutionChanged() 공개 메소드

public Options_ScreenResolutionChanged ( object sender, ViewportEventArgs e ) : void
sender object
e PGCGame.CoreTypes.ViewportEventArgs
리턴 void

RegenerateClones() 공개 메소드

public RegenerateClones ( ) : void
리턴 void

ResetLastKS() 공개 메소드

public ResetLastKS ( ) : void
리턴 void

Update() 공개 메소드

public Update ( GameTime gameTime ) : void
gameTime GameTime
리턴 void

bgspr_Drawn() 공개 메소드

public bgspr_Drawn ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
리턴 void

miniMap_Updated() 공개 메소드

public miniMap_Updated ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
리턴 void

playerShip_BulletFired() 공개 메소드

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
리턴 void

playerShip_WCMoved() 공개 메소드

public playerShip_WCMoved ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
리턴 void

프로퍼티 상세

MPEnemyDeadTime 공개적으로 정적으로 프로퍼티

public static TimeSpan,System MPEnemyDeadTime
리턴 System.TimeSpan

ScreensToAllowMusicProcessing 공개적으로 정적으로 프로퍼티

public static ScreenType[] ScreensToAllowMusicProcessing
리턴 ScreenType[]

World 공개적으로 정적으로 프로퍼티

public static SpriteBatch,Microsoft.Xna.Framework.Graphics World
리턴 Microsoft.Xna.Framework.Graphics.SpriteBatch