mirror of
https://github.com/2OOP/pism.git
synced 2026-02-04 19:04:49 +00:00
Renamed EventPublisher to EventFlow because of change in what it does.
This commit is contained in:
@@ -48,8 +48,8 @@ public class Main {
|
||||
}
|
||||
|
||||
private static void registerEvents() {
|
||||
new EventPublisher<>(Events.WindowEvents.OnQuitRequested.class, _ -> quit());
|
||||
new EventPublisher<>(Events.WindowEvents.OnMouseMove.class, _ -> {});
|
||||
new EventPublisher().onEvent(Events.WindowEvents.OnQuitRequested.class).perform(_ -> quit());
|
||||
new EventPublisher().onEvent(Events.WindowEvents.OnMouseMove.class).perform(_ -> {});
|
||||
}
|
||||
|
||||
private static void quit() {
|
||||
|
||||
Reference in New Issue
Block a user