C# Class Divine_Right.HelperFunctions.Extensions

Datei anzeigen Open project: Haedrian/Divine-Right

Public Methods

Method Description
Draw ( this batch, Microsoft.Xna.Framework.Content.ContentManager content, SpriteData data, Rectangle drawRect, Color colour ) : void
DrawString ( this batch, SpriteFont font, string text, Rectangle bounds, Alignment align, Color color ) : void

Method Details

Draw() public static method

public static Draw ( this batch, Microsoft.Xna.Framework.Content.ContentManager content, SpriteData data, Rectangle drawRect, Color colour ) : void
batch this
content Microsoft.Xna.Framework.Content.ContentManager
data DRObjects.Graphics.SpriteData
drawRect Microsoft.Xna.Framework.Rectangle
colour Color
return void

DrawString() public static method

public static DrawString ( this batch, SpriteFont font, string text, Rectangle bounds, Alignment align, Color color ) : void
batch this
font Microsoft.Xna.Framework.Graphics.SpriteFont
text string
bounds Microsoft.Xna.Framework.Rectangle
align Alignment
color Color
return void