Class SimNpc


  • public class SimNpc
    extends java.lang.Object
    NPC entity class used within the simulation. The follow params can be acquired from the NPC composition object and are used to determine attack ranges and speed. STAB_ATTACK(0), SLASH_ATTACK(1), CRUSH_ATTACK(2), MAGIC_ATTACK(3), RANGED_ATTACK(4), STAB_DEFENCE(5), SLASH_DEFENCE(6), CRUSH_DEFENCE(7), MAGIC_DEFENCE(8), RANGED_DEFENCE(9), MELEE_STRENGTH(10), PRAYER_BONUS(11), RANGED_STRENGTH(12), MAGIC_STRENGTH(65), ATTACK_RANGE(13), ATTACK_SPEED(14), STAT_REQUIRED_LEVEL_1(23), STAT_REQUIRED_TYPE_2(434), STAT_REQUIRED_LEVEL_2(436), STAT_REQUIRED_TYPE_3(435), STAT_REQUIRED_LEVEL_3(437), SARADOMIN(40), ZAMORAK(41), GUTHIX(42), DEMONBANE(128), COX_POTION(181), DEGRADES_IN_COMBAT(346), SLAYER_HELM(385), LAST_MAN_STANDING(403), POTION(468), SILVER_STRENGTH(518), SEED(709), AMMO(1563), DIZANAS_QUIVER(1910), ALWAYS_DROP_ID(46), DRAGONBANE(190), GOLEMBANE(1178), KALPHITE(1353),
    • Constructor Summary

      Constructors 
      Constructor Description
      SimNpc​(@NonNull java.awt.Point position, @NonNull java.awt.Color color, java.lang.String name)  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SimNpc

        public SimNpc​(@NonNull
                      @NonNull java.awt.Point position,
                      @NonNull
                      @NonNull java.awt.Color color,
                      java.lang.String name)