9 #ifndef _TurtleBrains_SpriteMap_h_
10 #define _TurtleBrains_SpriteMap_h_
12 #include "tb_sprite.h"
Definition: tb_vector.h:47
PixelSpace GetFrameHeight(void) const
SpriteFrame GetSpriteFrameAtIndex(const size_t &frameIndex) const
Give the GameScene and Entities something to display, Text, Sprites and AnimatedSprites help bring th...
TextureHandle GetTextureHandle(void) const
size_t GetIndexCount(void) const
Definition: tb_sprite.h:29
uint16_t uint16
Unsigned integer with a size of 16 bits. Supports values from 0 to 65535.
Definition: tb_types.h:26
Here is some information about the primary namespace.
Definition: tb_application_dialog.h:21
static Vector2 Zero(void)
Definition: tb_vector.h:53
PixelSpace GetFrameWidth(void) const
tbCore::uint32 TextureHandle
Definition: tb_texture_manager.h:43
tbCore::uint16 PixelSpace
Definition: tb_texture_manager.h:35
void RenderSpritesByIndex(const tbCore::uint16 *const spriteArray, const size_t &columnCount, const size_t &rowCount, const tbMath::Vector2 &position=tbMath::Vector2::Zero()) const
Definition: tb_sprite_map.h:23
SpriteMap(const TextureHandle &textureHandle, const PixelSpace &frameWidth, const PixelSpace &frameHeight, const PixelSpace &spacingX=0, const PixelSpace &spacingY=0, const PixelSpace &offsetX=0, const PixelSpace &offsetY=0)
SpriteFrame GetSpriteFrameAtLocation(const size_t &frameColumn, const size_t &frameRow) const
size_t GetColumnCount(void) const
size_t GetRowCount(void) const