コード例 #1
0
ファイル: GrindingNavigation.cs プロジェクト: semi420/lazybot
 public void SetNewSpot(Location location)
 {
     SpotToHit             = location;
     _path                 = PathProfile.FindShortsPath(ObjectManager.MyPlayer.Location, location);
     _currentWaypointIndex = 0;
     GrindingEngine.Navigator.SetDestination(location);
 }
コード例 #2
0
ファイル: GrindingNavigation.cs プロジェクト: civicacid/myevo
 public GrindingNavigation(PathProfile pathProfile)
 {
     PathProfile = pathProfile;
     SpotToHit = pathProfile.GetSubProfile().GetNextHotSpot();
     _currentWaypointIndex = 0;
     _path = pathProfile.FindShortsPath(ObjectManager.MyPlayer.Location, SpotToHit);
     SetNextWaypoint();
 }
コード例 #3
0
ファイル: GrindingNavigation.cs プロジェクト: semi420/lazybot
 public GrindingNavigation(PathProfile pathProfile)
 {
     PathProfile           = pathProfile;
     SpotToHit             = pathProfile.GetSubProfile().GetNextHotSpot();
     _currentWaypointIndex = 0;
     _path = pathProfile.FindShortsPath(ObjectManager.MyPlayer.Location, SpotToHit);
     SetNextWaypoint();
 }
コード例 #4
0
ファイル: GrindingNavigation.cs プロジェクト: semi420/lazybot
 public void UseNextNearestWaypoint()
 {
     _path = PathProfile.FindShortsPath(ObjectManager.MyPlayer.Location, SpotToHit);
     _currentWaypointIndex = 0;
 }
コード例 #5
0
ファイル: GrindingNavigation.cs プロジェクト: semi420/lazybot
 public void Reset()
 {
     SpotToHit             = PathProfile.GetSubProfile().GetNextHotSpot();
     _path                 = PathProfile.FindShortsPath(ObjectManager.MyPlayer.Location, SpotToHit);
     _currentWaypointIndex = 0;
 }