Property | Type | Description | |
---|---|---|---|
CloudSpeed | float | ||
CloudTexture | Microsoft.Xna.Framework.Graphics.Texture2D | ||
ElapsedTime | System.TimeSpan | ||
Font | |||
Game | Ballz | ||
MipFont | Microsoft.Xna.Framework.Graphics.SpriteFont[] | ||
Quad | Microsoft.Xna.Framework.Graphics.VertexPositionTexture[] | ||
SkyColor | Color | ||
SkyTexture | Microsoft.Xna.Framework.Graphics.Texture2D | ||
SpriteBatch | |||
WhiteTexture | Microsoft.Xna.Framework.Graphics.Texture2D |
Method | Description | |
---|---|---|
BaseRenderer ( Ballz game ) : System | ||
Draw ( |
||
DrawMessageOverlay ( MessageOverlay overlay ) : void | ||
DrawMessageOverlay ( string header, string longtext = null, string footer = null ) : void | ||
DrawSky ( ) : void | ||
DrawText ( string _text, Vector2 position, float size, Color color, int shadowOffset = 2, bool centerVertical = false, bool centerHorizontal = false ) : void |
Draws the text.
|
|
WorldToScreen ( Vector2 Position ) : Vector2 | ||
WorldToScreen ( Vector3 Position ) : Vector2 |
Method | Description | |
---|---|---|
CheckLetters ( string toCheck ) : string | ||
LoadContent ( ) : void | ||
LoadFonts ( ) : void | ||
LoadTextures ( ) : void |
protected CheckLetters ( string toCheck ) : string | ||
toCheck | string | |
return | string |
public Draw ( |
||
gameTime | ||
return | void |
public DrawMessageOverlay ( MessageOverlay overlay ) : void | ||
overlay | MessageOverlay | |
return | void |
public DrawMessageOverlay ( string header, string longtext = null, string footer = null ) : void | ||
header | string | |
longtext | string | |
footer | string | |
return | void |
public DrawText ( string _text, Vector2 position, float size, Color color, int shadowOffset = 2, bool centerVertical = false, bool centerHorizontal = false ) : void | ||
_text | string | |
position | Vector2 | Position. |
size | float | Size as a multiple of 48pt. |
color | Color | Color. |
shadowOffset | int | Shadow offset. |
centerVertical | bool | If set to |
centerHorizontal | bool | If set to |
return | void |
public WorldToScreen ( Vector2 Position ) : Vector2 | ||
Position | Vector2 | |
return | Vector2 |
public WorldToScreen ( Vector3 Position ) : Vector2 | ||
Position | Vector3 | |
return | Vector2 |
protected Texture2D,Microsoft.Xna.Framework.Graphics CloudTexture | ||
return | Microsoft.Xna.Framework.Graphics.Texture2D |
protected SpriteFont,Microsoft.Xna.Framework.Graphics Font | ||
return |
protected SpriteFont[],Microsoft.Xna.Framework.Graphics MipFont | ||
return | Microsoft.Xna.Framework.Graphics.SpriteFont[] |
protected VertexPositionTexture[],Microsoft.Xna.Framework.Graphics Quad | ||
return | Microsoft.Xna.Framework.Graphics.VertexPositionTexture[] |
protected Texture2D,Microsoft.Xna.Framework.Graphics SkyTexture | ||
return | Microsoft.Xna.Framework.Graphics.Texture2D |
protected SpriteBatch,Microsoft.Xna.Framework.Graphics SpriteBatch | ||
return |