Micropolis
FrontendMessageDidTool Class Reference

#include <frontendmessage.h>

Inheritance diagram for FrontendMessageDidTool:
FrontendMessage

Public Member Functions

 FrontendMessageDidTool (const std::string &tool, 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 tool
 
int x
 
int y
 

Detailed Description

Store a 'didTool' message.

Definition at line 104 of file frontendmessage.h.

Member Function Documentation

◆ sendMessage()

void FrontendMessageDidTool::sendMessage ( Micropolis sim) const
virtual

Send the message to the front-end.

Parameters
simSimulator instance to use.

Implements FrontendMessage.

Definition at line 120 of file frontendmessage.cpp.

References Micropolis::didTool().


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