public class Contact
extends java.lang.Object
Constructor and Description |
---|
Contact(int id,
float x,
float y)
Constructs a new Contact with the specified coordinates.
|
Modifier and Type | Method and Description |
---|---|
float |
getFirstX()
Returns the first x coordinate set for this contact.
|
float |
getFirstY()
Returns the first y coordinate set for this contact.
|
int |
getID()
Returns the identifier.
|
float |
getX()
Returns the x coordinate.
|
float |
getY()
Returns the y coordinate.
|
public Contact(int id, float x, float y)
x
- the x coordinatey
- the y coordinatepublic int getID()
public float getX()
public float getY()
public float getFirstX()
public float getFirstY()