Ends the current turn. Returns the list of changes made in this turn. Mainly for testing purposes; use next_turn().
(&mut self)
| 239 | /// Ends the current turn. Returns the list of changes made in this turn. |
| 240 | /// Mainly for testing purposes; use next_turn(). |
| 241 | fn end_turn(&mut self) -> TurnMessage { |
| 242 | self.world.flush_viewer_changes(); |
| 243 | self.turn.clone() |
| 244 | } |
| 245 | |
| 246 | // ************************************************************************ |
| 247 | // ************************** GENERAL METHODS ***************************** |