9 #ifndef _TurtleBrains_Sprite_h_
10 #define _TurtleBrains_Sprite_h_
12 #include "tb_graphic.h"
13 #include "tb_texture_manager.h"
253 virtual void OnRender(
void)
const override;
271 bool mIsFlippedHorizontally;
272 bool mIsFlippedVertically;
TexelSpace uvy
Definition: tb_sprite.h:36
Definition: tb_graphic.h:61
virtual PixelSpace GetPixelHeight(void) const override
TexelSpace uvh
Definition: tb_sprite.h:38
float w
Definition: tb_sprite.h:33
Sprite(const SpriteFrame &spriteFrame)
virtual void OnRender(void) const override
Give the GameScene and Entities something to display, Text, Sprites and AnimatedSprites help bring th...
PixelSpace GetPixelTop(void) const
Definition: tb_sprite.h:29
TexelSpace GetTexelTop(void) const
void SetSpriteFrame(const SpriteFrame &spriteFrame)
TexelSpace GetTexelHeight(void) const
void SetFlippedHorizontally(bool isFlippedHorizontally)
Here is some information about the primary namespace.
Definition: tb_application_dialog.h:21
void SetFlippedVertically(bool isFlippedVertically)
TextureHandle mTexture
Definition: tb_sprite.h:39
Sprite & operator=(const Sprite &other)
TexelSpace uvw
Definition: tb_sprite.h:37
bool IsFlippedHorizontally(void) const
tbCore::uint32 TextureHandle
Definition: tb_texture_manager.h:43
PixelSpace GetPixelBottom(void) const
PixelSpace GetPixelWidth(void) const
tbCore::uint16 PixelSpace
Definition: tb_texture_manager.h:35
virtual PixelSpace GetPixelWidth(void) const override
float y
Definition: tb_sprite.h:32
TexelSpace GetTexelRight(void) const
TexelSpace GetTexelWidth(void) const
TexelSpace GetTexelLeft(void) const
PixelSpace GetPixelLeft(void) const
float x
Definition: tb_sprite.h:31
TexelSpace GetTexelBottom(void) const
const SpriteFrame & GetSpriteFrame(void) const
float TexelSpace
Definition: tb_texture_manager.h:29
std::string tbString
Definition: tb_string.h:335
bool IsFlippedVertically(void) const
PixelSpace GetPixelRight(void) const
static SpriteFrame CreateWith(const TextureHandle &textureHandle)
float h
Definition: tb_sprite.h:34
TexelSpace uvx
Definition: tb_sprite.h:35
PixelSpace GetPixelHeight(void) const
Definition: tb_sprite.h:136