matf-rg-engine 1.0.0
Base for project for the Computer Graphics course at Faculty of Mathematics, University of Belgrade
Loading...
Searching...
No Matches
Public Member Functions | List of all members
engine::test::app::MainPlatformEventObserver Class Referencefinal

#include <MainController.hpp>

Inheritance diagram for engine::test::app::MainPlatformEventObserver:
Inheritance graph
[legend]
Collaboration diagram for engine::test::app::MainPlatformEventObserver:
Collaboration graph
[legend]

Public Member Functions

void on_key (engine::platform::Key key) override
 Called by PlatformController for every frame in an event occured on the keyboard or mouse key.
 
void on_mouse_move (engine::platform::MousePosition position) override
 Called by PlatformController for every frame in which the mouse moved.
 
- Public Member Functions inherited from engine::platform::PlatformEventObserver
virtual void on_window_resize (int width, int height)
 Called by PlatformController when the window is resized.
 
virtual ~PlatformEventObserver ()=default
 

Member Function Documentation

◆ on_key()

void engine::test::app::MainPlatformEventObserver::on_key ( engine::platform::Key  key)
overridevirtual

Called by PlatformController for every frame in an event occured on the keyboard or mouse key.

Reimplemented from engine::platform::PlatformEventObserver.

◆ on_mouse_move()

void engine::test::app::MainPlatformEventObserver::on_mouse_move ( engine::platform::MousePosition  position)
overridevirtual

Called by PlatformController for every frame in which the mouse moved.

Reimplemented from engine::platform::PlatformEventObserver.


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