Injects an SDL event into the console.
(&self, ev: Event)
| 449 | |
| 450 | /// Injects an SDL event into the console. |
| 451 | pub fn push_event(&self, ev: Event) { |
| 452 | self.console_ref().call(Request::PushEvent(ev)).unwrap() |
| 453 | } |
| 454 | |
| 455 | /// Verifies that the current state of the console matches a golden imagine. `bmp_basename` |
| 456 | /// indicates the name of the BMP image to use, without an extension. |