The PauseCommand pauses or unpauses the local game due to the remote game being paused.
More...
#include <pausecommand.h>
The PauseCommand pauses or unpauses the local game due to the remote game being paused.
terminus::PauseCommand::PauseCommand |
( |
Timer::TimerMSec |
timeStamp, |
|
|
QJsonObject |
jsonObject |
|
) |
| |
virtual Commands terminus::PauseCommand::commandType |
( |
| ) |
const |
|
inlineoverridevirtual |
void terminus::PauseCommand::doWork |
( |
| ) |
|
|
overridevirtual |
Every Commands must define its effects on the receiving game.
This Method is guaranteed to be executed in the receiving game's frame update context with a valid Game instance in m_game
Implements terminus::AbstractCommand.
bool terminus::PauseCommand::pause |
( |
| ) |
const |
|
inline |
QJsonObject terminus::PauseCommand::toJson |
( |
| ) |
const |
|
overridevirtual |
Every command must define how its members can be serialized.
- Returns
- A QJsonObject containing the parameters / members
Implements terminus::AbstractCommand.
bool terminus::PauseCommand::m_pause |
|
protected |
The documentation for this class was generated from the following files: