Beispiel #1
0
void Sprite::init(const IArchive& archive, const string& filename)
{
	mName = filename;
	mReader = new Utils::MemoryReader(archive.loadFile(filename), true);
}
	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);
	}