Package com.dragonboatrace.tools
Interface CollidableEffect
-
public interface CollidableEffect
Functional interface, used to name the type of the stored lambda expressions, which dictate what the collidable does upon collision. This is very similar to built in Consumer<T> interface. However it does not allow the creation of a lambda taking any other parameter type. It is also more clearly named.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
invoke(Boat boat)
-
-
-
Method Detail
-
invoke
void invoke(Boat boat)
-
-