Property | Type | Description | |
---|---|---|---|
bulletList | List |
||
clientSocket | Socket | ||
epServer | EndPoint | ||
planetList | List |
||
playerID | int | ||
playercount | int | ||
shipList | List |
||
shipList | List |
||
strName | string |
Method | Description | |
---|---|---|
Game1 ( ) : System |
Default constructer
|
Method | Description | |
---|---|---|
Draw ( |
This is called when the game should draw itself.
|
|
Initialize ( ) : void |
Allows the game to perform any initialization it needs to before starting to run.
|
|
LoadContent ( ) : void |
LoadContent will be called once per game to load all content.
|
|
UnloadContent ( ) : void |
UnloadContent will be called once per game and is the place to unload all content.
|
|
Update ( |
Allows the game gather input from the user.
|
Method | Description | |
---|---|---|
OnReceive ( IAsyncResult ar ) : void |
Receiving data function, goes through data received and uses the appropriate command
|
|
OnSend ( IAsyncResult ar ) : void |
On send function
|
protected Draw ( |
||
gameTime | Provides a snapshot of timing values. | |
return | void |
protected Update ( |
||
gameTime | Provides a snapshot of timing values. | |
return | void |