Initial commit.
Added outline of class and main methods.
Redid outline of class.
I removed the long comment block at the start as it was breaking the compilation process.
Corrected: readLine to readDouble
Added WHILE loop and SWITCH statement to get user input.
This is to determine what action to take. The input will trigger various methods in the class.
Removed WHILE statement.
I'll only allow the user to do one method per run of the programme. This is because I don't know how to give different names to each instance of a Point, e.g. if menu option 1 is selected twice in a row.
Completed method to find distance between 2 points.
It finds the distance of a 2nd point (created by the user) from the home point.
Completed method calculating distance from home point to origin.
Added method to reset fields of home point.
These are reset based on new x,y input from user.
Added method to move homepoint to another point's location.
I made a testPoint x=5, y=5 so that the method could match the homePoint's location to this one.