SPARK  0.1.0
A general purpose game engine written in C++.
Loading...
Searching...
No Matches
spark::rtti::HasRtti Class Referenceabstract

The class anything using the RTTI should implement. More...

#include <HasRtti.h>

Inheritance diagram for spark::rtti::HasRtti:
spark::core::Component spark::core::GameObject spark::core::Scene spark::events::Event spark::core::components::Circle spark::core::components::Collider spark::core::components::Image spark::core::components::Rectangle spark::core::components::Text spark::core::components::Transform spark::events::KeyEvent spark::events::MouseButtonEvent spark::events::MouseMovedEvent spark::events::MouseScrolledEvent spark::events::WindowCloseEvent spark::events::WindowResizeEvent

Public Member Functions

 HasRtti (const HasRtti &other)=default
 
 HasRtti (HasRtti &&other) noexcept=default
 
HasRttioperator= (const HasRtti &other)=default
 
HasRttioperator= (HasRtti &&other) noexcept=default
 
virtual RttiBaserttiInstance () const =0
 

Detailed Description

The class anything using the RTTI should implement.

Member Function Documentation

◆ rttiInstance()

virtual RttiBase & spark::rtti::HasRtti::rttiInstance ( ) const
nodiscardpure virtual
Returns
The RTTI object of the current class