Micropolis
FrontendMessageMakeSound Class Reference

#include <frontendmessage.h>

Inheritance diagram for FrontendMessageMakeSound:
FrontendMessage

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
 

Detailed Description

Store a 'makeSound' message.

Definition at line 121 of file frontendmessage.h.

Member Function Documentation

◆ sendMessage()

void FrontendMessageMakeSound::sendMessage ( Micropolis sim) const
virtual

Send the message to the front-end.

Parameters
simSimulator instance to use.

Implements FrontendMessage.

Definition at line 143 of file frontendmessage.cpp.

References Micropolis::makeSound().


The documentation for this class was generated from the following files: