Search:

Type: Posts; User: mdegges

Search: Search took 0.37 seconds.

  1. Replies
    15
    Views
    2,516

    Re: Trouble with getX() and getY()

    Also, another thing I tried was to make the location input a string. then I tried to parse it into an integer which didn't work, but I was wondering if I could parse just the integers from it and use...
  2. Replies
    15
    Views
    2,516

    Re: Trouble with getX() and getY()

    Thanks for all the points. I am not going to use your code, but I understand where you were going with it!

    currentLocation starts off being the direction that's entered (North, south, east, west)....
  3. Replies
    15
    Views
    2,516

    Re: Trouble with getX() and getY()

    Do you know what the input should be in the (x, y) form so that I can use getX()?

    I tried changing it to integer but the input is not just one integer, it's a pair of integers.
  4. Replies
    15
    Views
    2,516

    Trouble with getX() and getY()

    Hi all,

    I'm new to programming and am trying to understand getX() and getY() to extract the x, y coordinates from a point entered by the user. One of my problems is that I've defined that point...
Results 1 to 4 of 4