2021-01-14 11:52:01 -06:00
|
|
|
#ifndef DRAWABLE_H
|
|
|
|
#define DRAWABLE_H
|
|
|
|
|
|
|
|
#include "Node.h"
|
2021-01-17 14:36:38 -06:00
|
|
|
#include "Material.h"
|
2021-01-14 11:52:01 -06:00
|
|
|
|
|
|
|
class Drawable : virtual public Node {
|
|
|
|
public:
|
|
|
|
virtual bool IsDrawable() const {return true;}
|
|
|
|
virtual void Draw() = 0;
|
2021-01-17 14:36:38 -06:00
|
|
|
Material *material;
|
2021-01-14 11:52:01 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* DRAWABLE_H */
|