프로퍼티 | 타입 | 설명 | |
---|---|---|---|
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 |
메소드 | 설명 | |
---|---|---|
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 |
메소드 | 설명 | |
---|---|---|
CheckLetters ( string toCheck ) : string | ||
LoadContent ( ) : void | ||
LoadFonts ( ) : void | ||
LoadTextures ( ) : void |
public Draw ( |
||
gameTime | ||
리턴 | void |
public DrawMessageOverlay ( MessageOverlay overlay ) : void | ||
overlay | MessageOverlay | |
리턴 | void |
public DrawMessageOverlay ( string header, string longtext = null, string footer = null ) : void | ||
header | string | |
longtext | string | |
footer | string | |
리턴 | 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 |
리턴 | void |
public WorldToScreen ( Vector2 Position ) : Vector2 | ||
Position | Vector2 | |
리턴 | Vector2 |
public WorldToScreen ( Vector3 Position ) : Vector2 | ||
Position | Vector3 | |
리턴 | Vector2 |
protected Texture2D,Microsoft.Xna.Framework.Graphics CloudTexture | ||
리턴 | Microsoft.Xna.Framework.Graphics.Texture2D |
protected SpriteFont,Microsoft.Xna.Framework.Graphics Font | ||
리턴 |
protected SpriteFont[],Microsoft.Xna.Framework.Graphics MipFont | ||
리턴 | Microsoft.Xna.Framework.Graphics.SpriteFont[] |
protected VertexPositionTexture[],Microsoft.Xna.Framework.Graphics Quad | ||
리턴 | Microsoft.Xna.Framework.Graphics.VertexPositionTexture[] |
protected Texture2D,Microsoft.Xna.Framework.Graphics SkyTexture | ||
리턴 | Microsoft.Xna.Framework.Graphics.Texture2D |
protected SpriteBatch,Microsoft.Xna.Framework.Graphics SpriteBatch | ||
리턴 |