Peoplemon  0.1.0
Peoplemon 3 game source documentation
Public Member Functions | Public Attributes | List of all members
core::event::TimeChange Struct Reference

Basic event for when the game time changes. More...

#include <TimeChange.hpp>

Public Member Functions

 TimeChange (const system::Clock::Time &time)
 Creates a new time change event. More...
 

Public Attributes

const system::Clock::TimenewTime
 A reference to the new time. More...
 

Detailed Description

Basic event for when the game time changes.

Definition at line 24 of file TimeChange.hpp.

Constructor & Destructor Documentation

◆ TimeChange()

core::event::TimeChange::TimeChange ( const system::Clock::Time time)
inline

Creates a new time change event.

Parameters
timeThe new time

Definition at line 30 of file TimeChange.hpp.

Member Data Documentation

◆ newTime

const system::Clock::Time& core::event::TimeChange::newTime

A reference to the new time.

Definition at line 34 of file TimeChange.hpp.


The documentation for this struct was generated from the following file: