mirror of
https://github.com/echojc/osu-ds.git
synced 2025-06-18 17:05:36 -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>
34 lines
555 B
C++
34 lines
555 B
C++
#include <nds.h>
|
|
#include <vector>
|
|
|
|
#include "pSprite.h"
|
|
#include "GraphicsManager.h"
|
|
|
|
#ifndef __SPRITEMANAGER_H__
|
|
#define __SPRITEMANAGER_H__
|
|
|
|
using namespace std;
|
|
|
|
typedef vector<pSprite*>::iterator spriteIterator;
|
|
typedef vector<pSprite*>::const_iterator spriteIteratorConst;
|
|
|
|
class SpriteManager
|
|
{
|
|
public:
|
|
SpriteManager();
|
|
virtual ~SpriteManager();
|
|
|
|
void Draw();
|
|
|
|
void Add(pSprite* spr);
|
|
void Add(const vector<pSprite*>& spr);
|
|
|
|
vector<pSprite*>& Sprites() { return mSprites; }
|
|
|
|
protected:
|
|
vector<pSprite*> mSprites;
|
|
};
|
|
|
|
#endif
|
|
|