mirror of
https://github.com/AquaMorph/Droplets.git
synced 2025-04-30 09:45:35 +00:00
27 lines
476 B
C++
27 lines
476 B
C++
#pragma once
|
|
|
|
#ifndef CASCADE_GRAPHICS_SPRITE_H_
|
|
#define CASCADE_GRAPHICS_SPRITE_H_
|
|
|
|
#include "daisy_patch.h"
|
|
|
|
using namespace daisy;
|
|
|
|
class Sprite {
|
|
private:
|
|
int width, height;
|
|
bool** sprite;
|
|
public:
|
|
Sprite(int, int);
|
|
~Sprite();
|
|
void SetPixel(int, int, bool);
|
|
int GetHeight();
|
|
int GetWidth();
|
|
bool** GetSprite();
|
|
void Draw(DaisyPatch, int, int);
|
|
void DrawTile(DaisyPatch, int, int, int, int);
|
|
void SetBlank();
|
|
};
|
|
|
|
#endif // CASCADE_GRAPHICS_SPRITE_H_
|