* Send the user a message of an event that happens at a particular position * in the city. * @param mesgNum Message number of the message to display. * @param x X coordinate of the position of the event. * @param y Y coordinate of the position of the event. * @param picture Flag that is true if a picture should be shown. * @param important Flag that is true if the messa
| 378 | * @param important Flag that is true if the message is important. |
| 379 | */ |
| 380 | void Micropolis::sendMessage(short mesgNum, short x, short y, bool picture, bool important) |
| 381 | { |
| 382 | callback("update", "sdddbb", "message", |
| 383 | (int)mesgNum, |
| 384 | (int)x, |
| 385 | (int)y, |
| 386 | picture ? 1 : 0, |
| 387 | important ? 1 : 0); |
| 388 | } |
| 389 | |
| 390 | |
| 391 | /** |
nothing calls this directly
no outgoing calls
no test coverage detected