C# Class Ballz.Network.Server

Afficher le fichier Open project: SpagAachen/Ballz

Méthodes publiques

Свойство Type Description
TicksPerSecond double

Méthodes publiques

Méthode Description
Broadcast ( object data ) : void
HandleMessage ( object sender, Message message ) : void
Listen ( int port ) : void
NumberOfClients ( ) : int
Server ( Network net ) : System
StartNetworkGame ( GameSettings gameSettings ) : void
Update ( GameTime time ) : void
UpdateLobbyList ( ) : void

Private Methods

Méthode Description
CreateTeams ( GameSettings gameSettings ) : void
OnData ( object sender, object data ) : void
OnEntityRemoved ( object sender, System.Entity e ) : void
OnTerrainModified ( object sender, Terrain modification ) : void
Server ( ) : System

Method Details

Broadcast() public méthode

public Broadcast ( object data ) : void
data object
Résultat void

HandleMessage() public méthode

public HandleMessage ( object sender, Message message ) : void
sender object
message Message
Résultat void

Listen() public méthode

public Listen ( int port ) : void
port int
Résultat void

NumberOfClients() public méthode

public NumberOfClients ( ) : int
Résultat int

Server() public méthode

public Server ( Network net ) : System
net Network
Résultat System

StartNetworkGame() public méthode

public StartNetworkGame ( GameSettings gameSettings ) : void
gameSettings GameSettings
Résultat void

Update() public méthode

public Update ( GameTime time ) : void
time Microsoft.Xna.Framework.GameTime
Résultat void

UpdateLobbyList() public méthode

public UpdateLobbyList ( ) : void
Résultat void

Property Details

TicksPerSecond public_oe property

public double TicksPerSecond
Résultat double