Package dev.twilite.game.stream
Class PlayerView
java.lang.Object
Lazy view over players.
-
Constructor Summary
ConstructorsConstructorDescriptionPlayerView(Supplier<Stream<Player>> source) Creates a player view backed by a stream supplier. -
Method Summary
Methods inherited from class dev.twilite.game.stream.ActorView
animating, animation, filter, index, moving, nameContains, named, named, not, or, stanceMethods inherited from class dev.twilite.game.stream.UnitView
nearestTo, nearestTo, on, reachable, reachableWithin, within, within, within, within, withinMethods inherited from class dev.twilite.game.stream.View
count, exists, first, iterator, map, mapToInt, stream, toListMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
PlayerView
Creates a player view backed by a stream supplier.
-