private void checkIfFollowPartyStillOnMap() { if (FollowData.getFollowParty() != null) { if (FollowData.getFollowParty().IsWaiting()) { FollowData.stopFollowing(); } } }
private void toggleFollowOnMouseClick() { if (FollowData.getIsFollowActive()) { FollowData.stopFollowing(); } else { if (MobileParty.MainParty.TargetParty != null) { FollowData.startFollowing(MobileParty.MainParty.TargetParty); } } }
private void checkForUserInput() { if (topScreen != null) { if (topScreen.DebugInput.IsKeyPressed(InputKey.F)) { toggleFollowOnMouseClick(); } else if (topScreen.DebugInput.IsKeyPressed(InputKey.LeftMouseButton)) { if (FollowData.getIsFollowActive()) { FollowData.stopFollowing(); } } } }