mirror of
https://github.com/encounter/cpp3ds.git
synced 2026-03-30 11:04:22 -07:00
17 lines
313 B
C++
17 lines
313 B
C++
#ifndef DRAWABLE_H
|
|
#define DRAWABLE_H
|
|
|
|
namespace cpp3ds {
|
|
|
|
class Screen; // Forward-declaration for cyclic reference
|
|
|
|
class Drawable {
|
|
public:
|
|
float depth3d;
|
|
Drawable(float depth3d): depth3d(depth3d) {}
|
|
virtual void draw(Screen& screen, float x, float y, bool use3D, bool isLeftside) = 0;
|
|
};
|
|
}
|
|
|
|
#endif
|