universe.world
Interface OnKey<Msg extends java.io.Serializable>
public interface OnKey<Msg extends java.io.Serializable>
An interface that represents a function that produces a Package
(World + Messages) when a Key is pressed.
Method Summary |
Package<Msg> |
apply(World<Msg> w,
java.lang.String ke)
Apply this function to produce a Package (World + Messages)
when a Key is pressed. |
apply
Package<Msg> apply(World<Msg> w,
java.lang.String ke)
- Apply this function to produce a Package (World + Messages)
when a Key is pressed.