Class coords2

java.lang.Object
  extended by coords2

 class coords2
extends java.lang.Object

coords2 subclass included in Fill class. It has an x and y coordinate which is used as points to keep track where it is.


Field Summary
 int x
          X coordinate.
 int y
          Y coordinate.
 
Constructor Summary
coords2(int x1, int y1)
          Constructor for class coords2.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

x

public int x
X coordinate.


y

public int y
Y coordinate.

Constructor Detail

coords2

public coords2(int x1,
               int y1)
Constructor for class coords2. It takes in two integers which is for the x and y coordinates and sets the x and y coordiantes to the new coordinates.

Parameters:
x1 - used to be the new x coordinate
y1 - used to be the new y coordinate