YAGE  v0.1.1
Yet Another Game Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
yage::details::SpriteSheetHandler Class Reference

#include <spritesheet.h>

Inheritance diagram for yage::details::SpriteSheetHandler:

Public Member Functions

bool Null ()
 
bool Bool (bool b)
 
bool Int (int i)
 
bool Uint (unsigned u)
 
bool Int64 (int64_t i)
 
bool Uint64 (uint64_t u)
 
bool Double (double d)
 
bool String (const char *str, rapidjson::SizeType length, bool copy)
 
bool Key (const char *str, rapidjson::SizeType length, bool copy)
 
bool StartObject ()
 
bool EndObject (rapidjson::SizeType memberCount)
 
bool StartArray ()
 
bool EndArray (rapidjson::SizeType memberCount)
 
SpriteMap spriteMap () const
 

Private Member Functions

bool handleNumber (int i)
 

Private Attributes

std::string current_key_
 
std::string current_image_
 
Coordinate coord_
 
int depth_
 
int image_width_
 
int image_height_
 
SpriteMap map_
 

Member Function Documentation

bool yage::details::SpriteSheetHandler::Bool ( bool  b)
bool yage::details::SpriteSheetHandler::Double ( double  d)
bool yage::details::SpriteSheetHandler::EndArray ( rapidjson::SizeType  memberCount)
bool yage::details::SpriteSheetHandler::EndObject ( rapidjson::SizeType  memberCount)
bool yage::details::SpriteSheetHandler::handleNumber ( int  i)
private
bool yage::details::SpriteSheetHandler::Int ( int  i)
bool yage::details::SpriteSheetHandler::Int64 ( int64_t  i)
bool yage::details::SpriteSheetHandler::Key ( const char *  str,
rapidjson::SizeType  length,
bool  copy 
)
bool yage::details::SpriteSheetHandler::Null ( )
SpriteMap yage::details::SpriteSheetHandler::spriteMap ( ) const
bool yage::details::SpriteSheetHandler::StartArray ( )
bool yage::details::SpriteSheetHandler::StartObject ( )
bool yage::details::SpriteSheetHandler::String ( const char *  str,
rapidjson::SizeType  length,
bool  copy 
)
bool yage::details::SpriteSheetHandler::Uint ( unsigned  u)
bool yage::details::SpriteSheetHandler::Uint64 ( uint64_t  u)

Member Data Documentation

Coordinate yage::details::SpriteSheetHandler::coord_
private
std::string yage::details::SpriteSheetHandler::current_image_
private
std::string yage::details::SpriteSheetHandler::current_key_
private
int yage::details::SpriteSheetHandler::depth_
private
int yage::details::SpriteSheetHandler::image_height_
private
int yage::details::SpriteSheetHandler::image_width_
private
SpriteMap yage::details::SpriteSheetHandler::map_
private

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