Property | Type | Description | |
---|---|---|---|
ContentPackData | Bricklayer.Client.ContentPack | ||
ContentPackIndex | int | ||
ContentPackName | string | ||
CurrentGameState | GameState | ||
DefaultFont | |||
Host | string | ||
Input | |||
IsMouseOnControl | bool | ||
MainWindow | |||
Map | |||
MsgHandler | |||
MyColor | Color | ||
MyHue | int | ||
MyID | byte | ||
MyIndex | byte | ||
NetManager | |||
Port | int | ||
Random | |||
Resolution | |||
TextureLoader | Bricklayer.Client.TextureLoader | ||
Username | string |
Method | Description | |
---|---|---|
CheckControlPos ( Control c, Point pos ) : bool | ||
CheckPosition ( Point pos ) : bool |
Checks to see if the mouse is over a control (Mostly used for seeing if you can place a block there)
|
|
Exit ( ) : void | ||
Game ( ) : System |
Method | Description | |
---|---|---|
CreateMainWindow ( ) : TomShane.Neoforce.Controls.Window |
Creates a new instance of the main UI window
|
|
Draw ( |
This is called when the game should draw itself.
|
|
DrawScene ( |
Draws content behind the UI interface
|
|
Initialize ( ) : void |
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.
|
|
LoadContent ( ) : void |
LoadContent will be called once per game and is the place to load all of your content.
|
|
Update ( |
Allows the game to run logic such as updating the world, checking for collisions, gathering input, and playing audio.
|
Method | Description | |
---|---|---|
MainWindow_FocusGained ( object sender, TomShane e ) : void |
Called when the MainWindow gains focus
|
public CheckControlPos ( Control c, Point pos ) : bool | ||
c | Control | |
pos | Point | |
return | bool |
protected CreateMainWindow ( ) : TomShane.Neoforce.Controls.Window | ||
return | TomShane.Neoforce.Controls.Window |
protected Draw ( |
||
gameTime | Provides a snapshot of timing values. | |
return | void |
protected DrawScene ( |
||
gameTime | Provides a snapshot of timing values. | |
return | void |
protected Update ( |
||
gameTime | Provides a snapshot of timing values. | |
return | void |
public static ContentPack,Bricklayer.Client ContentPackData | ||
return | Bricklayer.Client.ContentPack |
public static GameState CurrentGameState | ||
return | GameState |
public static SpriteFont,Microsoft.Xna.Framework.Graphics DefaultFont | ||
return |
public static InputHandler,Bricklayer.Client Input | ||
return |
public static MainWindow,Bricklayer.Client.Interface MainWindow | ||
return |
public static Map,Bricklayer.Client.World Map | ||
return |
public static MessageHandler,Bricklayer.Client.Networking MsgHandler | ||
return |
public static NetworkManager,Bricklayer.Client.Networking NetManager | ||
return |
public static Rectangle,Microsoft.Xna.Framework Resolution | ||
return |
public static TextureLoader,Bricklayer.Client TextureLoader | ||
return | Bricklayer.Client.TextureLoader |