server
Class FishPOS

java.lang.Object
  |
  +--server.FishPOS
All Implemented Interfaces:
java.io.Serializable

public class FishPOS
extends java.lang.Object
implements java.io.Serializable

simple data class that contains the id and x,y of the fish

Author:
Ben Litchfield
See Also:
Serialized Form

Field Summary
 java.lang.String fishID
           
 int x
           
 int y
           
 
Constructor Summary
FishPOS(java.lang.String f, int xc, int yc)
          constructor of FishPOS
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fishID

public java.lang.String fishID

x

public int x

y

public int y
Constructor Detail

FishPOS

public FishPOS(java.lang.String f,
               int xc,
               int yc)
constructor of FishPOS

Parameters:
f - the fishID
xc - the initial x-coordinate
yc - the initial y-coordinate