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

Interface for view. More...

#include <RenderInterfaces.hpp>

Public Member Functions

 ~IView ()=default
 Destructor. More...
 
virtual const T & getBaseView () const =0
 Get the view stored. More...
 
virtual void setCenter (const Vector2< float > &center)=0
 
virtual Vector2< float > getCenter () const =0
 
virtual void setViewPort (const Vector2< float > &startingPoint, float width, float height)=0
 

Detailed Description

template<class T>
class GameEngine::IView< T >

Interface for view.

Template Parameters
Ttype of view

Constructor & Destructor Documentation

◆ ~IView()

template<class T >
GameEngine::IView< T >::~IView ( )
default

Destructor.

Member Function Documentation

◆ getBaseView()

template<class T >
virtual const T& GameEngine::IView< T >::getBaseView ( ) const
pure virtual

Get the view stored.

Returns
the view

Implemented in GameEngine::View.

◆ getCenter()

template<class T >
virtual Vector2<float> GameEngine::IView< T >::getCenter ( ) const
pure virtual

Implemented in GameEngine::View.

◆ setCenter()

template<class T >
virtual void GameEngine::IView< T >::setCenter ( const Vector2< float > &  center)
pure virtual

Implemented in GameEngine::View.

◆ setViewPort()

template<class T >
virtual void GameEngine::IView< T >::setViewPort ( const Vector2< float > &  startingPoint,
float  width,
float  height 
)
pure virtual

Implemented in GameEngine::View.


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