|
RuneHive-Game
|
Handles checking if mobs are in a certain area. More...
Public Member Functions | |
| abstract Position | getRandomLocation () |
| abstract boolean | inArea (Position position) |
Static Public Member Functions | |
| static boolean | inAllArea (Interactable entity, Area... area) |
| static boolean | inAnyArea (Interactable entity, Area... area) |
| static boolean | inArdougneCourse (Interactable entity) |
| static boolean | inBandos (Mob mob) |
| static boolean | inBarbarianCourse (Interactable entity) |
| static boolean | inBarrows (Entity entity) |
| static boolean | inBarrowsChamber (Interactable entity) |
| static boolean | inCatacombs (Interactable entity) |
| static boolean | inCerberus (Interactable entity) |
| static boolean | inCyclops (Interactable entity) |
| static boolean | inDuelArena (Interactable entity) |
| static boolean | inDuelArenaLobby (Entity entity) |
| static boolean | inDuelObsticleArena (Interactable entity) |
| static boolean | inEdgeville (Interactable entity) |
| static boolean | inFeroxEnclave (Interactable entity) |
| static boolean | inFightCaves (Interactable entity) |
| static boolean | inGnomeCourse (Interactable entity) |
| static boolean | inGodwars (Interactable entity) |
| static boolean | inGodwarsChambers (Mob mob) |
| static boolean | inInferno (Entity entity) |
| static boolean | inKingBlackDragon (Interactable entity) |
| static boolean | inkolodionArena (Entity entity) |
| static boolean | inKraken (Interactable entity) |
| static boolean | inLMSBuilding (Interactable entity) |
| static boolean | inLMSGame (Interactable entity) |
| static boolean | inLMSLobby (Interactable entity) |
| static boolean | inMulti (Entity entity) |
| static boolean | inPestControl (Interactable entity) |
| static boolean | inPvP (Interactable entity) |
| static boolean | inRegularDonatorZone (Interactable entity) |
| static boolean | inRestrictedArea (Mob mob) |
| static boolean | inRFD (Interactable entity) |
| static boolean | inSeersCourse (Interactable entity) |
| static boolean | inSuperDonatorZone (Interactable entity) |
| static boolean | inVorkath (Interactable entity) |
| static boolean | inWarriorGuild (Interactable entity) |
| static boolean | inWilderness (Interactable entity) |
| static boolean | inWilderness (Position position) |
| static boolean | inWildernessCourse (Interactable entity) |
| static boolean | inWildernessResource (Interactable entity) |
| static boolean | inZulrah (Interactable entity) |
Static Public Attributes | |
| static final Area[] | INFERNO = { new SquareArea("Arena Zone", 2243, 5314, 2300, 5372) } |
| static final Boundary | NEX = new Boundary(2900, 5183, 2943, 5227) |
| static final Area[] | WILDERNESS_RESOURCE = { new SquareArea("Wilderness Resource", 3174, 3924, 3196, 3944) } |
| The collection of areas that resemble the wilderness resource area. | |
Static Private Member Functions | |
| static boolean | inArea (Interactable interactable, Position bottomLeft, Position topRight) |
| static boolean | inArmadyl (Mob mob) |
| static boolean | inSaradomin (Mob mob) |
| static boolean | inZamorak (Mob mob) |
Static Private Attributes | |
| static final Area | ARMADYL_ROOM = new SquareArea("Armadyl room", 2824, 5296, 2842, 5308, 2) |
| static final Area | BANDOS_ROOM = new SquareArea("General Graardor room", 2864, 5351, 2876, 5369, 2) |
| The General Graardor room. | |
| static final Area[] | BARROWS |
| static final Area[] | CATACOMBS = { new SquareArea("Catacombs", 1591, 9982, 1736, 10111) } |
| static final Area[] | DUEL_ARENA_LOBBY |
| The collection of areas that resemble the duel arena. | |
| static final SquareArea[] | DUEL_ARENAS |
| static final SquareArea[] | DUEL_OBSTICLE_ARENAS |
| static final Area | DZ = new SquareArea("Donator Zone", 2462, 10422, 2493, 10463) |
| static final Area[] | EVENT_ARENA = { new SquareArea("Event Arena", 3082, 3506, 3089, 3513) } |
| static final Area[] | FEROX_ENCLAVE |
| static final Area[] | KBD = { new SquareArea("King Black Dragon lair", 2256, 4680, 2287, 4711) } |
| The collection of areas that resemble the king black dragon area. | |
| static final Area[] | KRAKEN = { new SquareArea("Kraken Cave", 2268, 10022, 2292, 10046) } |
| The collection of areas that resemble the kraken area. | |
| static final Area[] | LMS_BUILDING = { new SquareArea("LMS Lobby", 3140, 3632, 3144, 3638) } |
| static final Area[] | LMS_GAME = {new SquareArea("LMS Game", 3392, 5760, 3519, 5893) } |
| static final Area[] | LMS_LOBBY = { new SquareArea("LMS Lobby", 3138, 3639, 3145, 3645) } |
| static final Area[] | MULTI_COMBAT_ZONES |
| The collection of areas that resemble multi-combat zones. | |
| static final Area[] | PEST_CONTROL_GAME = { new SquareArea("Pest Control Game", 2622, 2558, 2693, 2627) } |
| static final Area | RFD_MINIGAME = new SquareArea("RFD Minigame", 1889, 5345, 1910, 5366, 2) |
| The General Graardor room. | |
| static final Area[] | SAFEZONE |
| static final Area | SARADOMIN_ROOM = new SquareArea("Saradomin room", 2889, 5258, 2907, 5275, 0) |
| static final Area | SDZ = new SquareArea("Super Donator Zone", 2398, 10404, 2444, 10440) |
| static final Area[] | WILDERNESS |
| The collection of areas that resemble the wilderness area. | |
| static final Area | ZAMORAK_ROOM = new SquareArea("Zamorak room", 2918, 5318, 2936, 5331, 2) |
| static final Area[] | ZULRAH = { new SquareArea("Zulrah", 2235, 3050, 2288, 3083) } |
| The collection of areas that resemble the zulrah area. | |
|
abstract |
Reimplemented in com.runehive.game.world.position.impl.CircleArea, and com.runehive.game.world.position.impl.SquareArea.
|
static |
|
static |
|
static |
Definition at line 167 of file Area.java.
References inArea().
Referenced by com.runehive.content.skill.impl.agility.obstacle.ObstacleInteraction.execute().
|
staticprivate |
Definition at line 394 of file Area.java.
References com.runehive.game.world.Interactable.getPosition(), com.runehive.game.world.position.Position.getX(), and com.runehive.game.world.position.Position.getY().
Referenced by inArdougneCourse(), inBarbarianCourse(), inBarrowsChamber(), inCerberus(), inCyclops(), inEdgeville(), inFightCaves(), inGnomeCourse(), inGodwars(), inkolodionArena(), inSeersCourse(), inVorkath(), inWarriorGuild(), inWildernessCourse(), and inWildernessResource().
|
abstract |
Reimplemented in com.runehive.game.world.position.impl.CircleArea, and com.runehive.game.world.position.impl.SquareArea.
|
staticprivate |
Definition at line 374 of file Area.java.
References ARMADYL_ROOM, and com.runehive.game.world.entity.Entity.getPosition().
Referenced by inGodwarsChambers().
|
static |
Definition at line 366 of file Area.java.
References BANDOS_ROOM, and com.runehive.game.world.entity.Entity.getPosition().
Referenced by com.runehive.game.world.entity.combat.attack.listener.npc.GeneralGraardor.RangedAttack.hitsplat(), and inGodwarsChambers().
|
static |
Definition at line 159 of file Area.java.
References inArea().
Referenced by com.runehive.content.skill.impl.agility.obstacle.ObstacleInteraction.execute(), and inRestrictedArea().
|
static |
Definition at line 254 of file Area.java.
References BARROWS.
Referenced by com.runehive.content.activity.impl.barrows.Barrows.onRegionChange(), and com.runehive.game.world.entity.mob.player.PlayerAssistant.setActivity().
|
static |
Definition at line 179 of file Area.java.
References inArea().
Referenced by com.runehive.game.task.impl.CeillingCollapseTask.tick().
|
static |
Definition at line 204 of file Area.java.
References CATACOMBS.
Referenced by com.runehive.content.combat.cannon.CannonManager.drop().
|
static |
Definition at line 125 of file Area.java.
References inArea().
Referenced by inRestrictedArea(), com.runehive.content.activity.impl.CerberusActivity.onRegionChange(), com.runehive.game.world.entity.mob.player.PlayerAssistant.setActivity(), and com.runehive.game.world.entity.combat.strategy.npc.boss.Cerberus.GhostAttack.start().
|
static |
Definition at line 140 of file Area.java.
References inArea().
Referenced by com.runehive.game.task.impl.WarriorGuildCyclopEvent.execute(), and inRestrictedArea().
|
static |
Definition at line 311 of file Area.java.
References DUEL_ARENAS.
Referenced by com.runehive.game.world.entity.combat.attack.listener.item.RingOfLifeListener.block(), com.runehive.content.overrides.Overrides.hasOverride(), inRestrictedArea(), com.runehive.game.world.entity.mob.player.Player.onStep(), and com.runehive.game.world.entity.mob.player.PlayerAssistant.setContextMenu().
|
static |
Definition at line 293 of file Area.java.
References DUEL_ARENA_LOBBY.
Referenced by inRestrictedArea(), com.runehive.game.world.entity.mob.player.Player.onStep(), and com.runehive.game.world.entity.mob.player.PlayerAssistant.setContextMenu().
|
static |
Definition at line 302 of file Area.java.
References DUEL_OBSTICLE_ARENAS.
Referenced by com.runehive.game.world.entity.combat.CombatUtil.canAttack(), inRestrictedArea(), com.runehive.game.world.entity.mob.player.Player.onStep(), and com.runehive.game.world.entity.mob.player.PlayerAssistant.setContextMenu().
|
static |
Definition at line 121 of file Area.java.
References inArea().
Referenced by com.runehive.content.skill.impl.firemaking.FiremakingAction.canInit().
|
static |
Definition at line 196 of file Area.java.
References FEROX_ENCLAVE.
Referenced by inWilderness().
|
static |
Definition at line 129 of file Area.java.
References inArea().
Referenced by com.runehive.game.world.entity.combat.CombatTarget.checkAggression(), com.runehive.game.world.entity.combat.CombatTarget.compare(), inRestrictedArea(), and com.runehive.content.activity.impl.fightcaves.FightCaves.onRegionChange().
|
static |
Definition at line 155 of file Area.java.
References inArea().
Referenced by com.runehive.content.skill.impl.agility.obstacle.ObstacleInteraction.execute(), and inRestrictedArea().
|
static |
Definition at line 133 of file Area.java.
References inArea().
Referenced by com.runehive.game.world.entity.combat.CombatTarget.checkAggression(), com.runehive.game.world.entity.combat.CombatTarget.compare(), inMulti(), inRestrictedArea(), com.runehive.content.activity.impl.godwars.GodwarsActivity.onRegionChange(), and com.runehive.game.world.entity.mob.player.PlayerAssistant.setActivity().
|
static |
Definition at line 382 of file Area.java.
References inArmadyl(), inBandos(), inSaradomin(), and inZamorak().
Referenced by com.runehive.game.world.entity.combat.CombatTarget.checkAggression(), com.runehive.game.world.entity.combat.CombatTarget.checkAggression(), and inRestrictedArea().
|
static |
Definition at line 245 of file Area.java.
References INFERNO.
Referenced by inRestrictedArea(), and com.runehive.content.activity.inferno.Inferno.onRegionChange().
|
static |
Definition at line 187 of file Area.java.
References KBD.
Referenced by inMulti(), inRestrictedArea(), and inWilderness().
|
static |
Definition at line 145 of file Area.java.
References com.runehive.game.world.entity.Entity.DEFAULT_INSTANCE, and inArea().
Referenced by inMulti(), inRestrictedArea(), and com.runehive.content.activity.impl.magearena.MageArena.onRegionChange().
|
static |
Definition at line 237 of file Area.java.
References KRAKEN.
Referenced by com.runehive.content.activity.impl.kraken.KrakenActivity.finish(), inMulti(), inRestrictedArea(), com.runehive.content.activity.impl.kraken.KrakenActivity.onRegionChange(), com.runehive.game.world.entity.combat.strategy.player.custom.ToxicBlowpipeStrategy.removeAmmunition(), com.runehive.game.world.entity.combat.strategy.player.PlayerRangedStrategy.removeAmmunition(), and com.runehive.game.world.entity.mob.player.PlayerAssistant.setActivity().
|
static |
Definition at line 223 of file Area.java.
References LMS_BUILDING.
Referenced by inRestrictedArea(), inWilderness(), com.runehive.game.world.entity.mob.player.Player.onStep(), and com.runehive.game.world.entity.mob.player.Player.sequence().
|
static |
Definition at line 337 of file Area.java.
References LMS_GAME.
Referenced by inRestrictedArea().
|
static |
Definition at line 214 of file Area.java.
References LMS_LOBBY.
Referenced by inRestrictedArea(), inWilderness(), com.runehive.game.world.entity.mob.player.Player.onStep(), and com.runehive.game.world.entity.mob.player.Player.sequence().
|
static |
Definition at line 263 of file Area.java.
References inGodwars(), inKingBlackDragon(), inkolodionArena(), inKraken(), inVorkath(), inZulrah(), and MULTI_COMBAT_ZONES.
Referenced by com.runehive.game.world.entity.combat.CombatUtil.areaAction(), com.runehive.content.lms.LMSGame.canAttack(), com.runehive.game.world.entity.combat.CombatUtil.canAttack(), com.runehive.game.world.entity.combat.CombatUtil.canAttack(), com.runehive.game.world.entity.combat.CombatUtil.canBasicAttack(), com.runehive.game.world.entity.combat.CombatTarget.checkAggression(), com.runehive.game.world.entity.mob.player.Player.onStep(), and com.runehive.game.world.entity.combat.attack.listener.other.PrayerListener.preDeath().
|
static |
Definition at line 329 of file Area.java.
References PEST_CONTROL_GAME.
Referenced by com.runehive.content.activity.impl.pestcontrol.PestControlGame.PestControlNode.finish(), inRestrictedArea(), and com.runehive.content.activity.impl.pestcontrol.PestControlGame.onRegionChange().
|
static |
Definition at line 355 of file Area.java.
References SAFEZONE.
Referenced by com.runehive.game.world.entity.combat.CombatUtil.canAttack(), com.runehive.game.world.entity.combat.CombatUtil.canBasicAttack(), com.runehive.game.task.impl.PvPTimerTask.execute(), and com.runehive.game.world.entity.mob.player.Player.onStep().
|
static |
Definition at line 151 of file Area.java.
References DZ.
Referenced by com.runehive.content.skill.impl.woodcutting.WoodcuttingAction.chop(), com.runehive.content.skill.impl.thieving.Thieving.clickNpc(), com.runehive.content.skill.impl.thieving.Thieving.clickObject(), com.runehive.content.skill.impl.thieving.PickpocketAction.execute(), com.runehive.content.skill.impl.mining.MiningAction.mine(), and com.runehive.game.world.entity.mob.player.Player.onStep().
|
static |
Definition at line 385 of file Area.java.
References inBarbarianCourse(), inCerberus(), inCyclops(), inDuelArena(), inDuelArenaLobby(), inDuelObsticleArena(), inFightCaves(), inGnomeCourse(), inGodwars(), inGodwarsChambers(), inInferno(), inKingBlackDragon(), inkolodionArena(), inKraken(), inLMSBuilding(), inLMSGame(), inLMSLobby(), inPestControl(), inRFD(), inVorkath(), inWilderness(), and inZulrah().
Referenced by com.runehive.content.Waypoints.setWaypoint().
|
static |
Definition at line 233 of file Area.java.
References RFD_MINIGAME.
Referenced by inRestrictedArea(), and com.runehive.content.activity.impl.recipefordisaster.RecipeForDisaster.onRegionChange().
|
staticprivate |
Definition at line 370 of file Area.java.
References com.runehive.game.world.entity.Entity.getPosition(), and SARADOMIN_ROOM.
Referenced by inGodwarsChambers().
|
static |
Definition at line 163 of file Area.java.
References inArea().
Referenced by com.runehive.content.skill.impl.agility.obstacle.ObstacleInteraction.execute().
|
static |
Definition at line 148 of file Area.java.
References SDZ.
Referenced by com.runehive.content.skill.impl.woodcutting.WoodcuttingAction.chop(), com.runehive.content.skill.impl.thieving.Thieving.clickNpc(), com.runehive.content.skill.impl.thieving.Thieving.clickObject(), com.runehive.content.skill.impl.thieving.PickpocketAction.execute(), com.runehive.content.skill.impl.mining.MiningAction.mine(), and com.runehive.game.world.entity.mob.player.Player.onStep().
|
static |
Definition at line 183 of file Area.java.
References inArea().
Referenced by com.runehive.game.world.entity.combat.strategy.npc.boss.Vorkath.VenomSpecial.AcidTask(), com.runehive.game.world.entity.combat.strategy.npc.boss.Vorkath.VenomSpecial.dragonFireTickableTask(), com.runehive.content.activity.impl.VorkathActivity.finish(), inMulti(), inRestrictedArea(), com.runehive.content.activity.impl.VorkathActivity.onRegionChange(), and com.runehive.game.world.entity.mob.player.PlayerAssistant.setActivity().
|
static |
Definition at line 136 of file Area.java.
References inArea().
Referenced by com.runehive.content.activity.impl.warriorguild.WarriorGuild.onRegionChange(), and com.runehive.game.world.entity.mob.player.PlayerAssistant.setActivity().
|
static |
Definition at line 281 of file Area.java.
References inFeroxEnclave(), inKingBlackDragon(), inLMSBuilding(), inLMSLobby(), and WILDERNESS.
|
static |
Definition at line 272 of file Area.java.
References WILDERNESS.
Referenced by com.runehive.content.overrides.Overrides.addOverride(), com.runehive.game.world.items.containers.impl.LootingBag.allowed(), com.runehive.game.world.entity.combat.effect.impl.CombatSkullEffect.apply(), com.runehive.game.world.entity.combat.CombatUtil.areaAction(), com.runehive.game.world.entity.combat.CombatUtil.canAttack(), com.runehive.game.world.entity.combat.CombatUtil.canBasicAttack(), com.runehive.content.skill.impl.firemaking.FiremakingAction.canInit(), com.runehive.content.mysterybox.MysteryBoxManager.click(), com.runehive.game.world.entity.combat.CombatTarget.compare(), com.runehive.content.skill.impl.magic.RunePouch.death(), com.runehive.game.world.entity.combat.accuracy.RangeAccuracyNpc.getEffectiveRanged(), com.runehive.game.world.World.getWildernessCount(), com.runehive.net.packet.in.DropItemPacketListener.handlePacket(), com.runehive.game.world.entity.combat.FormulaUtils.hasAmuletOfAvarice(), com.runehive.game.world.entity.combat.FormulaUtils.hasCrawsBow(), com.runehive.content.overrides.Overrides.hasOverride(), com.runehive.game.world.entity.combat.FormulaUtils.hasThammaronSceptre(), com.runehive.game.world.entity.combat.FormulaUtils.hasViggorasChainMace(), inRestrictedArea(), com.runehive.game.world.entity.mob.player.Player.onStep(), com.runehive.content.RoyaltyProgram.open(), com.runehive.content.overrides.Overrides.openInterface(), com.runehive.game.world.World.sendKillFeed(), com.runehive.game.world.entity.mob.npc.Npc.sequence(), com.runehive.game.world.entity.mob.player.PlayerAssistant.setActivity(), and com.runehive.content.activity.randomevent.RandomEventHandler.trigger().
|
static |
Definition at line 171 of file Area.java.
References inArea().
Referenced by com.runehive.content.skill.impl.agility.obstacle.ObstacleInteraction.execute().
|
static |
Definition at line 175 of file Area.java.
References inArea().
Referenced by com.runehive.content.skill.impl.agility.obstacle.ObstacleInteraction.execute(), and com.runehive.game.world.World.getWildernessResourcePlayers().
|
staticprivate |
Definition at line 378 of file Area.java.
References com.runehive.game.world.entity.Entity.getPosition(), and ZAMORAK_ROOM.
Referenced by inGodwarsChambers().
|
static |
Definition at line 320 of file Area.java.
References ZULRAH.
Referenced by com.runehive.game.world.entity.mob.player.PlayerDeath.death(), inMulti(), inRestrictedArea(), com.runehive.content.activity.impl.zulrah.ZulrahActivity.onRegionChange(), com.runehive.game.world.entity.combat.strategy.player.custom.ToxicBlowpipeStrategy.removeAmmunition(), and com.runehive.game.world.entity.combat.strategy.player.PlayerRangedStrategy.removeAmmunition().
|
staticprivate |
Definition at line 25 of file Area.java.
Referenced by inArmadyl().
|
staticprivate |
|
staticprivate |
Definition at line 67 of file Area.java.
Referenced by inBarrows().
|
staticprivate |
Definition at line 71 of file Area.java.
Referenced by inCatacombs().
|
staticprivate |
The collection of areas that resemble the duel arena.
Definition at line 74 of file Area.java.
Referenced by inDuelArenaLobby().
|
staticprivate |
Definition at line 106 of file Area.java.
Referenced by inDuelArena().
|
staticprivate |
Definition at line 110 of file Area.java.
Referenced by inDuelObsticleArena().
|
staticprivate |
Definition at line 19 of file Area.java.
Referenced by inRegularDonatorZone().
|
staticprivate |
|
staticprivate |
Definition at line 47 of file Area.java.
Referenced by inFeroxEnclave().
|
static |
Definition at line 28 of file Area.java.
Referenced by inInferno().
|
staticprivate |
The collection of areas that resemble the king black dragon area.
Definition at line 41 of file Area.java.
Referenced by inKingBlackDragon().
|
staticprivate |
The collection of areas that resemble the kraken area.
Definition at line 61 of file Area.java.
Referenced by inKraken().
|
staticprivate |
Definition at line 45 of file Area.java.
Referenced by inLMSBuilding().
|
staticprivate |
Definition at line 62 of file Area.java.
Referenced by inLMSGame().
|
staticprivate |
Definition at line 43 of file Area.java.
Referenced by inLMSLobby().
|
staticprivate |
The collection of areas that resemble multi-combat zones.
Definition at line 80 of file Area.java.
Referenced by inMulti().
|
staticprivate |
Definition at line 63 of file Area.java.
Referenced by inPestControl().
|
staticprivate |
|
staticprivate |
|
staticprivate |
Definition at line 23 of file Area.java.
Referenced by inSaradomin().
|
staticprivate |
Definition at line 20 of file Area.java.
Referenced by inSuperDonatorZone().
|
staticprivate |
The collection of areas that resemble the wilderness area.
Definition at line 116 of file Area.java.
Referenced by inWilderness(), and inWilderness().
|
static |
|
staticprivate |
Definition at line 24 of file Area.java.
Referenced by inZamorak().
|
staticprivate |
The collection of areas that resemble the zulrah area.
Definition at line 38 of file Area.java.
Referenced by inZulrah().