Pictel 2d 0.1
Game Engine Documentation
Public Member Functions | List of all members
engine::SpriteAtlasItemI Class Reference

Public Member Functions

 SpriteAtlasItemI (TextureI *texture, int x, int y, int w, int h, bool rotated, std::string filename)
 
std::string & GetFilename ()
 Returns the filename associated with the sprite slice.
 
TextureIGetTexture ()
 
int & GetX ()
 
int & GetY ()
 
int & GetWidth ()
 
int & GetHeight ()
 
SizeGetSize ()
 
RectF GetTextureCoordinates ()
 
bool GetFlippedVertically ()
 

Detailed Description

Declares an interface that holds information on a particular sprite atlas item loaded using SpriteAtlasI.