Micropolis
|
#include <frontendmessage.h>
Public Member Functions | |
FrontendMessageMakeSound (const std::string &channel, const std::string &sound, int x, int y) | |
virtual void | sendMessage (Micropolis *sim) const |
Send the message to the front-end. More... | |
Public Member Functions inherited from FrontendMessage | |
FrontendMessage () | |
virtual | ~FrontendMessage () |
Public Attributes | |
std::string | channel |
std::string | sound |
int | x |
int | y |
Store a 'makeSound' message.
Definition at line 121 of file frontendmessage.h.
|
virtual |
Send the message to the front-end.
sim | Simulator instance to use. |
Implements FrontendMessage.
Definition at line 143 of file frontendmessage.cpp.
References Micropolis::makeSound().