Package dev.twilite.game.stream
Class HintArrowView
Lazy view over active hint arrows.
-
Constructor Summary
ConstructorsConstructorDescriptionHintArrowView(Supplier<Stream<HintArrow>> source) Creates a hint-arrow view backed by a stream supplier. -
Method Summary
Modifier and TypeMethodDescriptionReturns a new hint-arrow view with an additional filter.not()Returns a new hint-arrow view with the most recent filter negated.Returns a new hint-arrow view with the supplied filter OR'ed with the most recent filter.Methods 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
-
HintArrowView
Creates a hint-arrow view backed by a stream supplier.
-
-
Method Details
-
filter
Returns a new hint-arrow view with an additional filter.- Overrides:
filterin classUnitView<HintArrow,HintArrowView>
-
not
Returns a new hint-arrow view with the most recent filter negated.- Overrides:
notin classUnitView<HintArrow,HintArrowView>
-
or
Returns a new hint-arrow view with the supplied filter OR'ed with the most recent filter.- Overrides:
orin classUnitView<HintArrow,HintArrowView>
-