Peoplemon  0.1.0
Peoplemon 3 game source documentation
TimeChange.hpp
Go to the documentation of this file.
1 #ifndef CORE_EVENTS_CLOCKEVENT_HPP
2 #define CORE_EVENTS_CLOCKEVENT_HPP
3 
4 #include <Core/Systems/Clock.hpp>
5 
13 namespace core
14 {
16 namespace event
17 {
24 struct TimeChange {
31  : newTime(time) {}
32 
35 };
36 
37 } // namespace event
38 } // namespace core
39 
40 #endif
Core classes and functionality for both the editor and game.
Basic event for when the game time changes.
Definition: TimeChange.hpp:24
const system::Clock::Time & newTime
A reference to the new time.
Definition: TimeChange.hpp:34
TimeChange(const system::Clock::Time &time)
Creates a new time change event.
Definition: TimeChange.hpp:30
Simple struct representing a point in time.
Definition: Clock.hpp:32