couch/core/Drawable.h
2021-01-17 14:36:38 -06:00

15 lines
253 B
C++

#ifndef DRAWABLE_H
#define DRAWABLE_H
#include "Node.h"
#include "Material.h"
class Drawable : virtual public Node {
public:
virtual bool IsDrawable() const {return true;}
virtual void Draw() = 0;
Material *material;
};
#endif /* DRAWABLE_H */