Method | Description | |
---|---|---|
GetSprite ( int id ) : Sprite |
Returns a sprite based on the given ID.
|
|
LoadSprites ( Microsoft.Xna.Framework.Content.ContentManager Content ) : void |
This method uses the games content manager to load all the sprites used in the game. This is to be called in the LoadContent method
|
public GetSprite ( int id ) : Sprite | ||
id | int | The ID of the sprite requested |
return | Sprite |
public LoadSprites ( Microsoft.Xna.Framework.Content.ContentManager Content ) : void | ||
Content | Microsoft.Xna.Framework.Content.ContentManager | Content the content manager used by the games LoadContent method |
return | void |