C# Class Infiniminer.InterfaceEngine

Show file Open project: bobisfat/Infiniminer Class Usage Examples

Public Properties

Property Type Description
uiFont Microsoft.Xna.Framework.Graphics.SpriteFont

Public Methods

Method Description
InterfaceEngine ( InfiniminerGame gameInstance ) : System
Render ( GraphicsDevice graphicsDevice ) : void
RenderConstructionGun ( GraphicsDevice graphicsDevice, SpriteBatch spriteBatch, BlockType blockType ) : void
RenderDetonator ( GraphicsDevice graphicsDevice, SpriteBatch spriteBatch ) : void
RenderMessageCenter ( SpriteBatch spriteBatch, string text, Vector2 pointCenter, Color colorText, Color colorBackground ) : void
RenderProspectron ( GraphicsDevice graphicsDevice, SpriteBatch spriteBatch ) : void
RenderRadarBlip ( SpriteBatch spriteBatch, Vector3 position, Color color, bool ping, string text ) : void
RenderRemote ( GraphicsDevice graphicsDevice, SpriteBatch spriteBatch ) : void
Update ( GameTime gameTime ) : void
drawChat ( List messages, GraphicsDevice graphicsDevice ) : void

Private Methods

Method Description
MessageExpired ( ChatMessage msg ) : bool

Method Details

InterfaceEngine() public method

public InterfaceEngine ( InfiniminerGame gameInstance ) : System
gameInstance InfiniminerGame
return System

Render() public method

public Render ( GraphicsDevice graphicsDevice ) : void
graphicsDevice GraphicsDevice
return void

RenderConstructionGun() public method

public RenderConstructionGun ( GraphicsDevice graphicsDevice, SpriteBatch spriteBatch, BlockType blockType ) : void
graphicsDevice GraphicsDevice
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
blockType BlockType
return void

RenderDetonator() public method

public RenderDetonator ( GraphicsDevice graphicsDevice, SpriteBatch spriteBatch ) : void
graphicsDevice GraphicsDevice
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
return void

RenderMessageCenter() public method

public RenderMessageCenter ( SpriteBatch spriteBatch, string text, Vector2 pointCenter, Color colorText, Color colorBackground ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
text string
pointCenter Vector2
colorText Color
colorBackground Color
return void

RenderProspectron() public method

public RenderProspectron ( GraphicsDevice graphicsDevice, SpriteBatch spriteBatch ) : void
graphicsDevice GraphicsDevice
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
return void

RenderRadarBlip() public method

public RenderRadarBlip ( SpriteBatch spriteBatch, Vector3 position, Color color, bool ping, string text ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
position Vector3
color Color
ping bool
text string
return void

RenderRemote() public method

public RenderRemote ( GraphicsDevice graphicsDevice, SpriteBatch spriteBatch ) : void
graphicsDevice GraphicsDevice
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
return void

Update() public method

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void

drawChat() public method

public drawChat ( List messages, GraphicsDevice graphicsDevice ) : void
messages List
graphicsDevice GraphicsDevice
return void

Property Details

uiFont public property

public SpriteFont,Microsoft.Xna.Framework.Graphics uiFont
return Microsoft.Xna.Framework.Graphics.SpriteFont