C# Class Divine_Right.HelperFunctions.Extensions

Afficher le fichier Open project: Haedrian/Divine-Right

Méthodes publiques

Méthode 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 méthode

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
Résultat void

DrawString() public static méthode

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
Résultat void