OpenEnroth 73e68f7
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Private Attributes | List of all members
SpriteFrame Class Reference

#include <Sprites.h>

Public Member Functions

int GetPaletteIndex ()
 
void ResetPaletteIndex (int index=0)
 

Public Attributes

std::string icon_name
 
std::string texture_name
 
std::array< Sprite *, 8 > hw_sprites = {{}}
 
float scale = 1.0
 
int uFlags = 0
 
int uGlowRadius = 0
 
int uPaletteID = 0
 
Duration uAnimTime
 
Duration uAnimLength
 

Private Attributes

int uPaletteIndex = 0
 

Member Function Documentation

◆ GetPaletteIndex()

int SpriteFrame::GetPaletteIndex ( )
Returns
Returns int to Index of palette stored in palette manager.

◆ ResetPaletteIndex()

void SpriteFrame::ResetPaletteIndex ( int  index = 0)
Parameters
indexIndex to set or default 0.

Member Data Documentation

◆ hw_sprites

std::array<Sprite *, 8> SpriteFrame::hw_sprites = {{}}

◆ icon_name

std::string SpriteFrame::icon_name

◆ scale

float SpriteFrame::scale = 1.0

◆ texture_name

std::string SpriteFrame::texture_name

◆ uAnimLength

Duration SpriteFrame::uAnimLength

◆ uAnimTime

Duration SpriteFrame::uAnimTime

◆ uFlags

int SpriteFrame::uFlags = 0

◆ uGlowRadius

int SpriteFrame::uGlowRadius = 0

◆ uPaletteID

int SpriteFrame::uPaletteID = 0

◆ uPaletteIndex

int SpriteFrame::uPaletteIndex = 0
private

The documentation for this class was generated from the following files: