private void prepareDestination ( int dtx , int dty ) { pathStopped = false ; pathStoppedRequested = false ; destX = dtx ; destY = dty ; destinationReached = false ; }
Prepare the destination store its location and reset states .