Hi,
I am writing an android game. I need a Point class that stores x and y coordinates. I have found a class called java.awt.Point. Which looks like what I need. I have created an interface for java.awt.Point and put import java.awt.Point in my code. But when I do Point pos = new Point. I get an error: cannot instantiate Point. Also if I do pos. I don't get x or y member variables. I could code my own Point class but I need to learn how to import stuff.
If I delete the interface for Point I get an error on import java.awt.Point. It says the import cannot be resolved.