Package dev.twilite.game.stream
Class NpcView
Lazy view over NPCs.
-
Constructor Summary
Constructors -
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
-
NpcView
Creates an NPC view backed by a stream supplier.
-
-
Method Details
-
id
Filters NPCs by transformed definition id.- Parameters:
ids- NPC ids, usually fromNpcId
-