Phyzix
Loading...
Searching...
No Matches
src
app
engine
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
11
class
Drawable
:
public
RuntimeBaseTypeIdentifiable
{
12
public
:
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
Drawable
Definition
Drawable.h:11
RuntimeBaseTypeIdentifiable
Base class for runtime type identification.
Definition
rtti.h:38
RuntimeBaseType
Enum class to identify the base type of a class for runtime type identification.
Generated by
1.10.0