osu-ds/source/Graphics/pAnimation.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

23 lines
450 B
C++

#include <nds.h>
#include "pSprite.h"
#ifndef __PANIMATION_H__
#define __PANIMATION_H__
class pAnimation : public pSprite
{
public:
pAnimation(TextureType texture, u32 framecount, u32 fps, s32 x, s32 y, u32 width, u32 height, DrawOrigin origin, FieldType type, rgb color, u32 alpha);
void Update();
protected:
TextureType mOrigTexture;
float mUpdatesPerFrame;
float mUpdatesWaited;
u32 mFrameCurrent;
u32 mFrameCount;
};
#endif