|
RuneHive-Game
|
Created by Daniel on 2017-11-24. More...
Classes | |
| enum | ObeliskData |
Public Member Functions | |
| boolean | activate (Player player, int objectId) |
| boolean | activate (Player player, int objectId, ObeliskData destination) |
| void | open (Player player, int obj) |
Static Public Member Functions | |
| static Obelisks | get () |
Static Package Functions | |
| [static initializer] | |
Static Private Attributes | |
| static Obelisks | INSTANCE = new Obelisks() |
| static Map< Integer, Boolean > | state = new HashMap<>() |
Created by Daniel on 2017-11-24.
Definition at line 24 of file Obelisks.java.
|
staticpackage |
References INSTANCE.
| boolean com.runehive.content.Obelisks.activate | ( | Player | player, |
| int | objectId ) |
Definition at line 51 of file Obelisks.java.
References activate(), com.runehive.content.Obelisks.ObeliskData.forObject(), and com.runehive.content.Obelisks.ObeliskData.getRandom().
Referenced by activate().
| boolean com.runehive.content.Obelisks.activate | ( | Player | player, |
| int | objectId, | ||
| ObeliskData | destination ) |
Definition at line 56 of file Obelisks.java.
References com.runehive.content.skill.impl.magic.teleport.Teleportation.activateOverride(), com.runehive.game.world.entity.mob.Mob.attributes, com.runehive.content.Obelisks.ObeliskData.boundary, com.runehive.content.Obelisks.ObeliskData.forObject(), com.runehive.content.Obelisks.ObeliskData.getBoundaries(), com.runehive.game.world.region.Region.getGameObject(), com.runehive.game.world.entity.Entity.getHeight(), com.runehive.game.world.position.Boundary.getMinimumX(), com.runehive.game.world.position.Boundary.getMinimumY(), com.runehive.game.world.position.Boundary.getPlayers(), com.runehive.game.world.entity.Entity.getPosition(), com.runehive.game.world.region.RegionManager.getRegion(), com.runehive.game.world.World.getRegions(), com.runehive.content.skill.impl.magic.teleport.TeleportationData.OBELISK, com.runehive.content.Obelisks.ObeliskData.objectId, com.runehive.util.Utility.random(), com.runehive.game.world.World.schedule(), com.runehive.game.world.entity.mob.player.Player.send(), com.runehive.util.generic.GenericAttributes.set(), and state.
|
static |
Definition at line 29 of file Obelisks.java.
| void com.runehive.content.Obelisks.open | ( | Player | player, |
| int | obj ) |
Definition at line 39 of file Obelisks.java.
References com.runehive.game.world.entity.mob.Mob.attributes, com.runehive.game.world.entity.mob.player.Player.dialogueFactory, com.runehive.content.dialogue.DialogueFactory.execute(), com.runehive.game.world.entity.mob.player.Player.interfaceManager, com.runehive.game.world.entity.mob.player.PlayerRight.isSuper(), com.runehive.game.world.entity.mob.player.InterfaceManager.open(), com.runehive.game.world.entity.mob.player.Player.send(), com.runehive.content.dialogue.DialogueFactory.sendStatement(), com.runehive.util.generic.GenericAttributes.set(), and com.runehive.content.writer.InterfaceWriter.write().
Definition at line 27 of file Obelisks.java.
Referenced by [static initializer]().
|
staticprivate |
Definition at line 26 of file Obelisks.java.
Referenced by activate().