C# Class Drought.Network.NetworkManager

Mostra file Open project: kiniry-teaching/UCD Class Usage Examples

Public Methods

Method Description
anyoneElseHere ( ) : bool
connectToGame ( RemoteGame game ) : void
disconnect ( ) : void
getInstance ( ) : NetworkManager
getLocalGames ( ) : List
hasMoreData ( ) : bool
host ( Level levelToHost ) : void
recieveOri ( ) : Matrix
recievePos ( ) : Vector3
recieveUID ( ) : int
sendPos ( MovableEntity entity ) : void
update ( ) : void

Private Methods

Method Description
GameEnded ( object sender, GameEndedEventArgs args ) : void
GameStarted ( object sender, GameStartedEventArgs args ) : void
GamerJoined ( object sender, Microsoft.Xna.Framework.Net.GamerJoinedEventArgs args ) : void
GamerLeft ( object sender, Microsoft.Xna.Framework.Net.GamerLeftEventArgs args ) : void
NetworkManager ( ) : System
NetworkSessionEnded ( object sender, Microsoft.Xna.Framework.Net.NetworkSessionEndedEventArgs args ) : void

Method Details

anyoneElseHere() public method

public anyoneElseHere ( ) : bool
return bool

connectToGame() public method

public connectToGame ( RemoteGame game ) : void
game RemoteGame
return void

disconnect() public method

public disconnect ( ) : void
return void

getInstance() public static method

public static getInstance ( ) : NetworkManager
return NetworkManager

getLocalGames() public method

public getLocalGames ( ) : List
return List

hasMoreData() public method

public hasMoreData ( ) : bool
return bool

host() public method

public host ( Level levelToHost ) : void
levelToHost Level
return void

recieveOri() public method

public recieveOri ( ) : Matrix
return Matrix

recievePos() public method

public recievePos ( ) : Vector3
return Vector3

recieveUID() public method

public recieveUID ( ) : int
return int

sendPos() public method

public sendPos ( MovableEntity entity ) : void
entity Drought.Entity.MovableEntity
return void

update() public method

public update ( ) : void
return void