Phyzix
Loading...
Searching...
No Matches
Drawable.h
1//
2// Created by shams on 8/7/24.
3//
4
5#ifndef PHYZIX_DRAWABLE_H
6#define PHYZIX_DRAWABLE_H
7
8
9#include "app/lib/rtti.h"
10
12public:
13 RuntimeBaseType getBaseType() const override {
14 return RuntimeBaseType::DRAWABLE;
15 }
16
17 virtual void draw() const = 0;
18};
19
20
21#endif //PHYZIX_DRAWABLE_H
Definition Drawable.h:11
Base class for runtime type identification.
Definition rtti.h:38
Enum class to identify the base type of a class for runtime type identification.