Artemus::Proxy::XboxCodeAnalyzerProxyGame Class Reference

This is the main type for your game. More...

Collaboration diagram for Artemus::Proxy::XboxCodeAnalyzerProxyGame:

Collaboration graph
[legend]

List of all members.

Public Member Functions

void NewServerMessage (ServerMessage message)
 Sends a new server message to the server.
 XboxCodeAnalyzerProxyGame ()
 Constructs a new instance of the game.

Protected Member Functions

override void BeginRun ()
 Handler methods for game begin events.
override void Draw (GameTime gameTime)
 This is called when the game should draw itself.
override void EndRun ()
 Handler method for game exit events.
override void Initialize ()
 Allows the game to perform any initialization it needs to before starting to run. This is where it can query for any required services and load any non-graphic related content. Calling base.Initialize will enumerate through any components and initialize them as well.
override void LoadContent ()
 LoadContent will be called once per game and is the place to load all of your content.
override void UnloadContent ()
 UnloadContent will be called once per game and is the place to unload all content.
override void Update (GameTime gameTime)
 Allows the game to run logic such as updating the world, checking for collisions, gathering input, and playing audio.

Private Attributes

const int ClientListenerPort = 1234
ClientConnectionManager clientManager = null
VirtualGraphicsDevice graphics
Vector2 m_clientStatusPos
Vector2 m_headerPos
string m_headerText
SpriteFont m_segoeUI_14
SpriteFont m_segoeUI_24
Vector2 m_serverStatusPos
const int NumInitialFreeClients = 1
ServerConnection server = null
SpriteBatch spriteBatch


Detailed Description

This is the main type for your game.


Constructor & Destructor Documentation

Artemus::Proxy::XboxCodeAnalyzerProxyGame::XboxCodeAnalyzerProxyGame (  )  [inline]

Constructs a new instance of the game.


Member Function Documentation

override void Artemus::Proxy::XboxCodeAnalyzerProxyGame::BeginRun (  )  [inline, protected]

Handler methods for game begin events.

override void Artemus::Proxy::XboxCodeAnalyzerProxyGame::Draw ( GameTime  gameTime  )  [inline, protected]

This is called when the game should draw itself.

Parameters:
gameTime Provides a snapshot of timing values.

override void Artemus::Proxy::XboxCodeAnalyzerProxyGame::EndRun (  )  [inline, protected]

Handler method for game exit events.

override void Artemus::Proxy::XboxCodeAnalyzerProxyGame::Initialize (  )  [inline, protected]

Allows the game to perform any initialization it needs to before starting to run. This is where it can query for any required services and load any non-graphic related content. Calling base.Initialize will enumerate through any components and initialize them as well.

override void Artemus::Proxy::XboxCodeAnalyzerProxyGame::LoadContent (  )  [inline, protected]

LoadContent will be called once per game and is the place to load all of your content.

void Artemus::Proxy::XboxCodeAnalyzerProxyGame::NewServerMessage ( ServerMessage  message  )  [inline]

Sends a new server message to the server.

Parameters:
message The ServerMessage instance to send.

override void Artemus::Proxy::XboxCodeAnalyzerProxyGame::UnloadContent (  )  [inline, protected]

UnloadContent will be called once per game and is the place to unload all content.

override void Artemus::Proxy::XboxCodeAnalyzerProxyGame::Update ( GameTime  gameTime  )  [inline, protected]

Allows the game to run logic such as updating the world, checking for collisions, gathering input, and playing audio.

Parameters:
gameTime Provides a snapshot of timing values.


Member Data Documentation


The documentation for this class was generated from the following file:

Generated on Sat Jul 19 14:22:34 2008 for Artemus Proxy by  doxygen 1.5.5