Package com.kraken.api.simulation
Class SimulationNpcSnapshot
- java.lang.Object
-
- com.kraken.api.simulation.SimulationNpcSnapshot
-
public final class SimulationNpcSnapshot extends java.lang.ObjectImmutable snapshot of a RuneLite NPC at a single game tick.
-
-
Constructor Summary
Constructors Constructor Description SimulationNpcSnapshot(int index, int id, java.lang.String name, @NonNull net.runelite.api.coords.WorldPoint worldPoint, int size, int attackRange, boolean collidable, boolean stopWhenPlayerInLineOfSight)Creates a snapshot model for a single NPC.
-
-
-
Constructor Detail
-
SimulationNpcSnapshot
public SimulationNpcSnapshot(int index, int id, java.lang.String name, @NonNull @NonNull net.runelite.api.coords.WorldPoint worldPoint, int size, int attackRange, boolean collidable, boolean stopWhenPlayerInLineOfSight)Creates a snapshot model for a single NPC.- Parameters:
index- RuneLite NPC index for runtime lookup.id- RuneLite NPC id.name- NPC display name.worldPoint- NPC world tile (south-west anchor for multi-tile NPCs).size- NPC tile footprint.attackRange- NPC attack/line-of-sight range used by simulation.collidable- true when movement overlap checks should treat this NPC as blocking.stopWhenPlayerInLineOfSight- true when movement should stop once LoS to player is available.
-
-