Esempio n. 1
0
 public void SetNewSpot(Location location)
 {
     SpotToHit             = location;
     _path                 = PathProfile.FindShortsPath(ObjectManager.MyPlayer.Location, location);
     _currentWaypointIndex = 0;
     GrindingEngine.Navigator.SetDestination(location);
 }
Esempio n. 2
0
 public GrindingNavigation(PathProfile pathProfile)
 {
     PathProfile = pathProfile;
     SpotToHit = pathProfile.GetSubProfile().GetNextHotSpot();
     _currentWaypointIndex = 0;
     _path = pathProfile.FindShortsPath(ObjectManager.MyPlayer.Location, SpotToHit);
     SetNextWaypoint();
 }
Esempio n. 3
0
 public GrindingNavigation(PathProfile pathProfile)
 {
     PathProfile           = pathProfile;
     SpotToHit             = pathProfile.GetSubProfile().GetNextHotSpot();
     _currentWaypointIndex = 0;
     _path = pathProfile.FindShortsPath(ObjectManager.MyPlayer.Location, SpotToHit);
     SetNextWaypoint();
 }
Esempio n. 4
0
 public void UseNextNearestWaypoint()
 {
     _path = PathProfile.FindShortsPath(ObjectManager.MyPlayer.Location, SpotToHit);
     _currentWaypointIndex = 0;
 }
Esempio n. 5
0
 public void Reset()
 {
     SpotToHit             = PathProfile.GetSubProfile().GetNextHotSpot();
     _path                 = PathProfile.FindShortsPath(ObjectManager.MyPlayer.Location, SpotToHit);
     _currentWaypointIndex = 0;
 }