Middle Europe Productions Library  alpha 1.3.3
Public Member Functions | List of all members
MEP::Template::BaseTemplate Class Reference

A class with the additional methods for the MEP::Window::Template. More...

#include <BaseTemplate.h>

Inheritance diagram for MEP::Template::BaseTemplate:
MEP::Template::Hub MEP::Template::Loading

Public Member Functions

 BaseTemplate ()=default
 
virtual void additionalEvents (sf::RenderWindow &, sf::Event &)
 
virtual void additionalInit ()
 

Detailed Description

A class with the additional methods for the MEP::Window::Template.

I do recommend to use it with all of the template windows. It provides two additional methods: additinalEvents() - it is recommended to override the method in case of additional out of MEP::Window::Template events. additinalInit() - it is recommended to override the method in case of additional initialization objects.

Constructor & Destructor Documentation

◆ BaseTemplate()

MEP::Template::BaseTemplate::BaseTemplate ( )
default

Member Function Documentation

◆ additionalEvents()

virtual void MEP::Template::BaseTemplate::additionalEvents ( sf::RenderWindow &  ,
sf::Event &   
)
inlinevirtual

Method handling additional events defined by the user. It is recommended to use it with any Template window.

◆ additionalInit()

virtual void MEP::Template::BaseTemplate::additionalInit ( )
inlinevirtual

Method handling initialization of the objects defined by the user. It is recommended to use it with any Template window.