resonance 1.0.1
Loading...
Searching...
No Matches
dogamesystemplaycmd.h
Go to the documentation of this file.
1#pragma once
2
3#include <iostream>
4
5#include "sch/command.h"
6
7class IBStream;
8class OBStream;
9
21public:
29 static Sch::Command *New();
30
38 virtual int CmdID();
39
46 virtual void Execute();
47
55 virtual void Print(std::ostream &stream);
56
64 virtual void saveGuts(OBStream &stream) const;
65
73 virtual void restoreGuts(IBStream &stream);
74
81 static int sCmdID;
82};
Scheduler command that starts a play of the game system.
Definition dogamesystemplaycmd.h:20
virtual void saveGuts(OBStream &stream) const
Write nothing.
virtual void Execute()
Run GameManagerImpl::StartPlay() on the application's game manager.
virtual void Print(std::ostream &stream)
Write {DoGameSystemPlayCmd}.
static int sCmdID
Identifier the class streams itself under.
Definition dogamesystemplaycmd.h:81
virtual void restoreGuts(IBStream &stream)
Read nothing.
static Sch::Command * New()
Produce a command on the heap.
virtual int CmdID()
Report sCmdID.
Input half of the byte stream interface.
Definition ibstream.h:36
Output half of the byte stream interface.
Definition obstream.h:25
Base of every action the scheduler performs on behalf of another subsystem.
Definition command.h:60