RuneHive-Game
Loading...
Searching...
No Matches
FollowWaypoint.java
Go to the documentation of this file.
1
package
com.runehive.game.world.entity.mob.movement.waypoint;
2
3
import
com.runehive.game.world.entity.mob.Mob;
4
5
public
class
FollowWaypoint
extends
Waypoint
{
6
7
public
FollowWaypoint
(
Mob
mob
,
Mob
target
) {
8
super(
mob
,
target
);
9
}
10
11
@Override
12
public
void
onDestination
() {
13
mob
.movement.reset();
14
}
15
16
}
com.runehive.game.world.entity.mob.Mob
Handles the mob class.
Definition
Mob.java:66
com.runehive.game.world.entity.mob.movement.waypoint.FollowWaypoint.onDestination
void onDestination()
Definition
FollowWaypoint.java:12
com.runehive.game.world.entity.mob.movement.waypoint.FollowWaypoint.FollowWaypoint
FollowWaypoint(Mob mob, Mob target)
Definition
FollowWaypoint.java:7
com.runehive.game.world.entity.mob.movement.waypoint.Waypoint.Waypoint
Waypoint(Mob mob, Interactable target)
Definition
Waypoint.java:25
com.runehive.game.world.entity.mob.movement.waypoint.Waypoint.mob
final Mob mob
Definition
Waypoint.java:21
com.runehive.game.world.entity.mob.movement.waypoint.Waypoint.target
Interactable target
Definition
Waypoint.java:22