Ejemplo n.º 1
0
void Sprite::init(const IArchive& archive, const string& filename)
{
	mName = filename;
	mReader = new Utils::MemoryReader(archive.loadFile(filename), true);
}
Ejemplo n.º 2
0
	void SpritePanimation::init(const IArchive& archive, const string& filename)
	{
		printf("Loading sprite panimation %s.\n", filename.c_str());
		mReader = new Utils::MemoryReader(archive.loadFile(filename), true);
	}