Class Simulation


  • public class Simulation
    extends java.lang.Object
    • Constructor Detail

      • Simulation

        public Simulation()
    • Method Detail

      • getBlockedTileRanges

        public int[][][] getBlockedTileRanges()
      • getPillarFilters

        public boolean[] getPillarFilters()
      • setPlayer

        public void setPlayer​(int x,
                              int y)
      • getNpcInfo

        public NpcInfo getNpcInfo​(int type)
      • getNpcName

        public java.lang.String getNpcName​(int type)
      • decodeManticoreAttack

        public java.lang.String decodeManticoreAttack​(int styleIndex)
      • getManticorePattern

        public int[] getManticorePattern​(java.lang.String name)
      • getMobCenterOffset

        public int getMobCenterOffset​(int type)
      • placeMob

        public boolean placeMob​(int x,
                                int y,
                                NpcType type,
                                java.lang.String extra)
      • clear

        public void clear()
      • reset

        public void reset()
      • findMobIndexAtTile

        public int findMobIndexAtTile​(int x,
                                      int y)
      • removeMobAtTile

        public void removeMobAtTile​(int x,
                                    int y)
      • hasLOS

        public boolean hasLOS​(int x1,
                              int y1,
                              int x2,
                              int y2,
                              int s,
                              int r,
                              boolean isNPC)
      • canAttackPlayer

        public boolean canAttackPlayer​(Mob mob)