mirror of
https://github.com/echojc/osu-ds.git
synced 2025-06-19 01:15:44 -04:00

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>
33 lines
555 B
C++
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
|
|
|