osu-ds/source/Graphics/SpriteContainer.h
KonPet 183228e28e Change stuff to make it build
Removed the arm7 section
Changed the makefile to only use the arm9 stuff
Epicpkmn: Fix source/Graphics/GraphicsManager.cpp

Co-Authored-By: Pk11 <epicpkmn11@outlook.com>
Co-Authored-By: Kaisaan <34224128+Kaisaan@users.noreply.github.com>
2021-10-21 00:03:39 +02:00

33 lines
555 B
C++

#include <nds.h>
#include <stdio.h>
#include <vector>
#include "pSprite.h"
#include "SpriteManager.h"
#ifndef __SPRITECONTAINER_H__
#define __SPRITECONTAINER_H__
using namespace std;
typedef vector<pSprite*>::iterator spriteIterator;
/* a generic base class for all objects that require sprites
* sprite cleanup is automatically handled
*/
class SpriteContainer
{
public:
virtual ~SpriteContainer();
void AddToSpriteManager(SpriteManager& spriteManager);
protected:
vector<pSprite*> mSprites;
private:
bool mSpriteOwner;
};
#endif