RuneHive-Tarnish
Neural OSRS Enhancement Framework
Loading...
Searching...
No Matches
BotObjective.java
1
package
com.osroyale.content.bot.objective;
2
3
import
com.osroyale.content.bot.PlayerBot;
4
import
com.osroyale.content.bot.objective.impl.*;
5
29
30
public
enum
BotObjective implements BotObjectiveListener {
31
WALK_IN_WILDERNESS(
new
WildernessWalkObjective
()),
32
WALK_TO_DITCH(
new
WildernessDitchObjective
()),
33
WALK_TO_BANK(
new
BankObjective
()),
34
RESTOCK(
new
RestockObjective
()),
35
COMBAT(
new
CombatObjective
());
36
37
private
final
BotObjectiveListener listener;
38
39
BotObjective(BotObjectiveListener listener) {
40
this.listener = listener;
41
}
42
43
@Override
44
public
void
init(
PlayerBot
bot) {
45
listener.init(bot);
46
}
47
48
@Override
49
public
void
finish(
PlayerBot
bot) {
50
listener.finish(bot);
51
}
52
53
}
com.osroyale.content.bot.PlayerBot
Definition
PlayerBot.java:66
com.osroyale.content.bot.objective.impl.BankObjective
Definition
BankObjective.java:32
com.osroyale.content.bot.objective.impl.CombatObjective
Definition
CombatObjective.java:29
com.osroyale.content.bot.objective.impl.RestockObjective
Definition
RestockObjective.java:41
com.osroyale.content.bot.objective.impl.WildernessDitchObjective
Definition
WildernessDitchObjective.java:31
com.osroyale.content.bot.objective.impl.WildernessWalkObjective
Definition
WildernessWalkObjective.java:28