GPR5100 - Rollback
Loading...
Searching...
No Matches
core
include
engine
system.h
1
#pragma once
2
3
#include <SFML/System/Time.hpp>
4
#include <SFML/Window/Event.hpp>
5
6
namespace
core
7
{
12
class
SystemInterface
13
{
14
public
:
15
virtual
~SystemInterface
() =
default
;
16
virtual
void
Begin() = 0;
17
virtual
void
Update(sf::Time dt) = 0;
18
virtual
void
End() = 0;
19
};
20
25
class
OnEventInterface
26
{
27
public
:
28
virtual
~OnEventInterface
() =
default
;
29
virtual
void
OnEvent(
const
sf::Event& event) = 0;
30
};
31
32
}
core::OnEventInterface
OnEventInterface is an interface to a class that needs to read events from the Engine....
Definition:
system.h:26
core::SystemInterface
SystemInterface is an interface to a game system that needs to begin, update and end by the Engine....
Definition:
system.h:13
Generated by
1.9.5