public class Position
extends java.lang.Object
Constructor and Description |
---|
Position(int x,
int y) |
Position(java.lang.String view,
int x,
int y) |
Position(java.lang.String view,
java.awt.Point point)
describe a point in a plane "view"
|
Modifier and Type | Method and Description |
---|---|
java.awt.Point |
getPoint() |
java.lang.String |
getView() |
public Position(java.lang.String view, java.awt.Point point)
view
- name of view plane, not used in momentpoint
- point in a planepublic Position(java.lang.String view, int x, int y)
public Position(int x, int y)