PERRY v1.0.0
P-E-R-R-Y/PERRY helps creating games with a bunch of tools.
Loading...
Searching...
No Matches
Core

Topics

 Ecs
 

Classes

interface  ICore
 define the core interface More...
 
interface  Engine
 define the engine interface More...
 
class  CustomisableEngine< Parents >
 define the customisable engine More...
 
struct  CustomisableEngine< Parents >::has_params< T, typename >
 
struct  CustomisableEngine< Parents >::has_params< T, std::void_t< typename T::Params > >
 
struct  CustomisableEngine< Parents >::is_specialization_of_tuple< T >
 
struct  CustomisableEngine< Parents >::is_specialization_of_tuple< std::tuple< Args... > >
 

Functions

virtual int ICore::start ()=0
 
virtual void Engine::initHandler ()=0
 
virtual void Engine::destroyHandler ()=0
 
virtual void Engine::eventHandler ()=0
 
virtual void Engine::updateHandler ()=0
 
virtual void Engine::displayHandler ()=0
 
template<typename... Args>
 CustomisableEngine< Parents >::CustomisableEngine (Args... params)
 Construct a new Customisable Engine object (Accepts parameters for each parent class)
 
template<typename Parent, typename Arg>
static Parent CustomisableEngine< Parents >::constructParent (Arg &&arg)
 Construct a Parent object.
 

Variables

template<typename T>
static constexpr bool CustomisableEngine< Parents >::has_params_v = has_params<T>::value
 

Detailed Description

Function Documentation

◆ constructParent()

template<typename... Parents>
template<typename Parent, typename Arg>
static Parent CustomisableEngine< Parents >::constructParent ( Arg && arg)
inlinestaticprivate

Construct a Parent object.

Template Parameters
Parent
Arg
Parameters
arg
Returns
Parent

◆ CustomisableEngine()

template<typename... Parents>
template<typename... Args>
CustomisableEngine< Parents >::CustomisableEngine ( Args... params)
inline

Construct a new Customisable Engine object (Accepts parameters for each parent class)

Template Parameters
Args
Parameters
params

◆ destroyHandler()

virtual void Engine::destroyHandler ( )
protectedpure virtual

Implemented in Game.

◆ displayHandler()

virtual void Engine::displayHandler ( )
protectedpure virtual

Implemented in Game.

◆ eventHandler()

virtual void Engine::eventHandler ( )
protectedpure virtual

Implemented in Game.

◆ initHandler()

virtual void Engine::initHandler ( )
protectedpure virtual

Implemented in Game.

◆ start()

virtual int ICore::start ( )
pure virtual

Implemented in Game.

◆ updateHandler()

virtual void Engine::updateHandler ( )
protectedpure virtual

Implemented in Game.