C# Класс GameGraphics.SpriteStore

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

GetSprite() публичный Метод

Returns a sprite based on the given ID.
public GetSprite ( int id ) : Sprite
id int The ID of the sprite requested
Результат Sprite

LoadSprites() публичный Метод

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 LoadSprites ( Microsoft.Xna.Framework.Content.ContentManager Content ) : void
Content Microsoft.Xna.Framework.Content.ContentManager Content the content manager used by the games LoadContent method
Результат void