Interface ConnectionHandler.EventCallback
-
- Enclosing class:
- ConnectionHandler
public static interface ConnectionHandler.EventCallback
Interface for callable thinks. This may used for Event callback registration.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
callback(Event event)
Defines a callback for a game event.
-
-
-
Method Detail
-
callback
void callback(Event event)
Defines a callback for a game event. Can be used to construct a lambda function.- Parameters:
event
- Event data
-
-