|
|||||||||
| Home >> All >> com >> jdwsoftware >> wfh >> [ model overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.jdwsoftware.wfh.model
Class Fish

java.lang.Objectcom.jdwsoftware.wfh.model.Fish
- public class Fish
- extends java.lang.Object
Title: Woody's Fishing Hole
Description: Educational Fishing Game
Copyright: Copyright (C) 2003 JDW Software, LLC
Company: JDW Software, LLC
Basic fish model. Stores information about the image id to use for this fish, the current location and direction of the fish and the answer this fish is storing
- Version:
- $Revision: 1.5 $
| Field Summary | |
private Direction |
_direction
|
private int |
_imageIndex
|
private Location |
_location
|
private java.lang.String |
_value
|
private static java.lang.String |
COPYRIGHT
|
private static java.lang.String |
VERSION
|
| Constructor Summary | |
Fish()
Default constructor |
|
| Method Summary | |
Direction |
getDirection()
Get the direction attribute |
int |
getImageIndex()
Get the imageIndex attribute |
Location |
getLocation()
Get the location attribute |
java.lang.String |
getValue()
Get the value attribute |
void |
setDirection(Direction direction)
Set the direction attribute |
void |
setImageIndex(int imageIndex)
Set the imageIndex attribute |
void |
setLocation(Location location)
Set the location attribute |
void |
setValue(java.lang.String value)
Set the value attribute |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
COPYRIGHT
private static final java.lang.String COPYRIGHT
- See Also:
- Constant Field Values
VERSION
private static final java.lang.String VERSION
- See Also:
- Constant Field Values
_value
private java.lang.String _value
_location
private Location _location
_direction
private Direction _direction
_imageIndex
private int _imageIndex
| Constructor Detail |
Fish
public Fish()
- Default constructor
| Method Detail |
getDirection
public Direction getDirection()
- Get the direction attribute
setDirection
public void setDirection(Direction direction)
- Set the direction attribute
getImageIndex
public int getImageIndex()
- Get the imageIndex attribute
setImageIndex
public void setImageIndex(int imageIndex)
- Set the imageIndex attribute
getLocation
public Location getLocation()
- Get the location attribute
setLocation
public void setLocation(Location location)
- Set the location attribute
getValue
public java.lang.String getValue()
- Get the value attribute
setValue
public void setValue(java.lang.String value)
- Set the value attribute
|
|||||||||
| Home >> All >> com >> jdwsoftware >> wfh >> [ model overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
com.jdwsoftware.wfh.model.Fish