universe.world
Interface OnMouse<Msg extends java.io.Serializable>


public interface OnMouse<Msg extends java.io.Serializable>

An interface that represents a function that produces a Package (World + Messages) when a Mouse event occurs.


Method Summary
 Package<Msg> apply(World<Msg> w, int x, int y, java.lang.String me)
          Apply this function to produce a Package (World + Messages) on a MouseEvent
 

Method Detail

apply

Package<Msg> apply(World<Msg> w,
                   int x,
                   int y,
                   java.lang.String me)
Apply this function to produce a Package (World + Messages) on a MouseEvent