Method | Description | |
---|---|---|
DrawRectangle ( |
Draws a rectangle
|
|
DrawRectangle ( |
Draws a rectangle
|
|
LoadContent ( Microsoft.Xna.Framework.Content.ContentManager Content ) : void |
Load the content needed (must be called before drawing)
|
public static DrawRectangle ( |
||
spriteBatch | Spritebatch to draw primitive on | |
rect | Rectangle coordinates to draw | |
return | void |
public static DrawRectangle ( |
||
spriteBatch | Spritebatch to draw primitive on | |
rect | Rectangle coordinates to draw | |
color | Color | Color to draw primitive |
return | void |
public static LoadContent ( Microsoft.Xna.Framework.Content.ContentManager Content ) : void | ||
Content | Microsoft.Xna.Framework.Content.ContentManager | |
return | void |