9 #ifndef _TurtleBrains_SpriteManager_h_
10 #define _TurtleBrains_SpriteManager_h_
12 #include "tb_sprite.h"
13 #include "tb_animated_sprite.h"
14 #include "tb_sprite_sheet.h"
15 #include "../core/tb_noncopyable.h"
16 #include "../core/tb_string.h"
24 namespace Core {
class DynamicStructure; }
161 const tbImplementation::LoadingSheetInformation& loadingInfo);
163 typedef std::map<tbCore::tbString, SpriteSheet> SpriteSheetContainer;
164 SpriteSheetContainer mSpriteSheets;
TextureHandle GetSpriteSheetTextureHandle(const tbCore::tbString &spriteSheetName) const
Give the GameScene and Entities something to display, Text, Sprites and AnimatedSprites help bring th...
Definition: tb_sprite.h:29
Definition: tb_sprite_manager.h:33
AnimatedSprite GetAnimatedSprite(const tbCore::tbString &spriteSheetName, const tbCore::tbString &spriteName) const
Definition: tb_noncopyable.h:22
Here is some information about the primary namespace.
Definition: tb_application_dialog.h:21
SpriteFrame GetSpriteFrame(const tbCore::tbString &spriteSheetName, const tbCore::tbString &spriteName) const
Sprite GetSprite(const tbCore::tbString &spriteSheetName, const tbCore::tbString &spriteName) const
Definition: tb_animated_sprite.h:29
tbCore::uint32 TextureHandle
Definition: tb_texture_manager.h:43
tbCore::uint16 PixelSpace
Definition: tb_texture_manager.h:35
Definition: tb_dynamic_structure.h:57
void AddAnimationSequences(const tbCore::tbString &spriteSheetName, const tbCore::tbString &spriteName, AnimatedSprite &animatedSprite) const
Definition: tb_sprite_sheet.h:33
bool LoadSpriteSheetFromFile(const tbCore::tbString &spriteSheetName, const tbCore::tbString &spriteSheetFile)
std::string tbString
Definition: tb_string.h:335
SpriteManager theSpriteManager
Definition: tb_application_dialog.h:19
Definition: tb_animated_sprite.h:119
Definition: tb_sprite.h:136
Sprite GetSpriteFromFile(const tbCore::tbString &textureFile, const PixelSpace &frameX=0, const PixelSpace &frameY=0, const PixelSpace &frameWidth=0, const PixelSpace &frameHeight=0) const