|
RuneHive-Game
|
Static Public Member Functions | |
| static void | init () |
| Handles initializing the shooting stars event. | |
| static void | mine (Player player, GameObject o) |
| Handles the mine option of the shooting star. | |
| static void | prospect (Player player) |
| Handles prospecting the shooting star. | |
Static Public Attributes | |
| static ShootingStarData | shootingStarData |
| The current data of the shooting star. | |
| static boolean | starHasBeenFound = false |
| Checks if the star has been found before. | |
| static int | starTick = 30 |
| Ticks till the next shooting star will spawn. | |
Static Private Attributes | |
| static final Logger | logger = LogManager.getLogger(ShootingStar.class) |
Definition at line 13 of file ShootingStar.java.
|
static |
Handles initializing the shooting stars event.
Definition at line 92 of file ShootingStar.java.
References logger, com.runehive.game.world.World.schedule(), com.runehive.game.world.World.sendMessage(), shootingStarData, starHasBeenFound, and starTick.
|
static |
Handles the mine option of the shooting star.
| player |
Definition at line 36 of file ShootingStar.java.
References com.runehive.game.world.entity.mob.Mob.action, com.runehive.game.world.entity.skill.SkillManager.addExperience(), com.runehive.game.world.entity.mob.Mob.animate(), com.runehive.content.skill.impl.mining.PickaxeData.animation, com.runehive.game.world.entity.mob.player.Player.dialogueFactory, com.runehive.content.dialogue.DialogueFactory.execute(), com.runehive.game.action.ActionManager.execute(), com.runehive.game.world.entity.skill.SkillManager.get(), com.runehive.content.skill.impl.mining.PickaxeData.getBestPickaxe(), com.runehive.game.world.items.containers.ItemContainer.hasCapacityFor(), com.runehive.game.world.entity.mob.player.Player.inventory, com.runehive.content.skill.impl.mining.PickaxeData.level, com.runehive.game.world.entity.mob.player.Player.message(), com.runehive.game.world.entity.skill.Skill.MINING, com.runehive.game.world.entity.skill.Skill.reqLevel(), com.runehive.content.dialogue.DialogueFactory.sendStatement(), com.runehive.game.world.entity.skill.Skill.setDoingSkill(), shootingStarData, com.runehive.game.world.entity.mob.Mob.skills, and starHasBeenFound.
|
static |
Handles prospecting the shooting star.
| player |
Definition at line 78 of file ShootingStar.java.
References com.runehive.game.world.entity.skill.SkillManager.addExperience(), com.runehive.game.world.entity.mob.player.Player.dialogueFactory, com.runehive.content.dialogue.DialogueFactory.execute(), com.runehive.content.dialogue.DialogueFactory.sendStatement(), shootingStarData, com.runehive.game.world.entity.mob.Mob.skills, and starHasBeenFound.
|
staticprivate |
Definition at line 15 of file ShootingStar.java.
Referenced by init().
|
static |
The current data of the shooting star.
Definition at line 25 of file ShootingStar.java.
Referenced by init(), mine(), com.runehive.content.shootingstar.ShootingStarAction.mine(), and prospect().
|
static |
Checks if the star has been found before.
Definition at line 20 of file ShootingStar.java.
Referenced by init(), mine(), and prospect().
|
static |
Ticks till the next shooting star will spawn.
Definition at line 30 of file ShootingStar.java.
Referenced by init().