|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.jdwsoftware.wfh.model.Fish
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
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 |
Constructor Detail |
public Fish()
Method Detail |
public Direction getDirection()
public void setDirection(Direction direction)
direction
- new direction attributepublic int getImageIndex()
public void setImageIndex(int imageIndex)
imageIndex
- new imageIndex attributepublic Location getLocation()
public void setLocation(Location location)
location
- new location attributepublic java.lang.String getValue()
public void setValue(java.lang.String value)
value
- new value attribute
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |