C# Class TugOfBaby.RenderManager

Afficher le fichier Open project: martinvium/ngj2012 Class Usage Examples

Méthodes publiques

Méthode Description
Draw ( SpriteBatch spriteBatch, List all ) : void
DrawLine ( SpriteBatch batch, float width, Color color, Vector2 point1, Vector2 point2 ) : void
GetSprite ( Texture name ) : Sprite
LoadContent ( Microsoft.Xna.Framework.Content.ContentManager content, List all ) : void
RenderManager ( GraphicsDevice graphicsDevice ) : System
Update ( GameTime gametime, List all ) : void

Method Details

Draw() public méthode

public Draw ( SpriteBatch spriteBatch, List all ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
all List
Résultat void

DrawLine() public méthode

public DrawLine ( SpriteBatch batch, float width, Color color, Vector2 point1, Vector2 point2 ) : void
batch Microsoft.Xna.Framework.Graphics.SpriteBatch
width float
color Color
point1 Vector2
point2 Vector2
Résultat void

GetSprite() public méthode

public GetSprite ( Texture name ) : Sprite
name Microsoft.Xna.Framework.Graphics.Texture
Résultat Sprite

LoadContent() public méthode

public LoadContent ( Microsoft.Xna.Framework.Content.ContentManager content, List all ) : void
content Microsoft.Xna.Framework.Content.ContentManager
all List
Résultat void

RenderManager() public méthode

public RenderManager ( GraphicsDevice graphicsDevice ) : System
graphicsDevice GraphicsDevice
Résultat System

Update() public méthode

public Update ( GameTime gametime, List all ) : void
gametime Microsoft.Xna.Framework.GameTime
all List
Résultat void