R-Type
Public Member Functions | List of all members
GameEngine::IRect< T, M > Class Template Referenceabstract

Interface for rectangle. More...

#include <RenderInterfaces.hpp>

Inheritance diagram for GameEngine::IRect< T, M >:
GameEngine::Rect< float > GameEngine::Rect< int >

Public Member Functions

 ~IRect ()=default
 Destructor. More...
 
virtual const M< T > getBaseRect () const =0
 Get the rectangle stored. More...
 

Detailed Description

template<typename T, template< typename > class M>
class GameEngine::IRect< T, M >

Interface for rectangle.

Template Parameters
Ttype of the rectangle

Constructor & Destructor Documentation

◆ ~IRect()

template<typename T , template< typename > class M>
GameEngine::IRect< T, M >::~IRect ( )
default

Destructor.

Member Function Documentation

◆ getBaseRect()

template<typename T , template< typename > class M>
virtual const M<T> GameEngine::IRect< T, M >::getBaseRect ( ) const
pure virtual

Get the rectangle stored.

Returns
rectangle stored

Implemented in GameEngine::Rect< T >, GameEngine::Rect< float >, and GameEngine::Rect< int >.


The documentation for this class was generated from the following file: