C# 클래스 PGCGame.Screens.Multiplayer.MPShipsScreen

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

공개 메소드들

메소드 설명
InitScreen ( ScreenType screenName ) : void
MPShipsScreen ( SpriteBatch sb ) : System
Update ( GameTime game ) : void

비공개 메소드들

메소드 설명
Component_NetworkInformationReceived ( object sender, Glib e ) : void
CurrentSession_GameStarted ( object sender, GameStartedEventArgs e ) : void

Called on the computer of ALL PLAYERS when the game is started by the host.

CurrentSession_GamerJoined ( object sender, Microsoft.Xna.Framework.Net.GamerJoinedEventArgs e ) : void
CurrentSession_GamerLeft ( object sender, Microsoft.Xna.Framework.Net.GamerLeftEventArgs e ) : void
StartLabel_Pressed ( object sender, EventArgs e ) : void

Start label pressed event handler.

Called when the HOST presses the start label.

StateManager_ScreenStateChanged ( object sender, EventArgs e ) : void
gameLeave ( object o, Microsoft.Xna.Framework.Net.GamerLeftEventArgs glea ) : void

Mid-game player leaving code.

lScr_ScreenFinished ( object sender, EventArgs e ) : void

Client-side switch to GameScreen after data reception.

onDataRecv ( ) : void

Called on the CLIENT side when the host-sent ship data has been received.

No networking.

playerShip_NetworkStateChanged ( object sender, EventArgs e ) : void

Called when the LOCAL SHIP needs to send network data.

메소드 상세

InitScreen() 공개 메소드

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

MPShipsScreen() 공개 메소드

public MPShipsScreen ( SpriteBatch sb ) : System
sb Microsoft.Xna.Framework.Graphics.SpriteBatch
리턴 System

Update() 공개 메소드

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