wPercept
Class TransferPercept
java.lang.Object
|
+--wPercept.TransferPercept
- All Implemented Interfaces:
- java.io.Serializable
- public class TransferPercept
- extends java.lang.Object
- implements java.io.Serializable
Class whose objects are communicated between the server and clients.
Defines the various percepts, status and scores for the client and
provides methods to access the information with.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransferPercept
public TransferPercept()
setPercept
public void setPercept(boolean st,
boolean br,
boolean gli,
boolean bu,
boolean sc)
setActionTaken
public void setActionTaken(int a)
setScore
public void setScore(int a)
getScore
public int getScore()
setNumArrow
public void setNumArrow(int a)
getNumArrow
public int getNumArrow()
setNumGold
public void setNumGold(int a)
setHint
public void setHint(java.lang.String s)
setImage
public void setImage(int[][][] arr,
int height,
int width)
setAverageScore
public void setAverageScore(double a)
setStdDeviation
public void setStdDeviation(double a)
getImageWidth
public int getImageWidth()
getImageHeight
public int getImageHeight()
getImagePixels
public int[][][] getImagePixels()
getNumGold
public int getNumGold()
setStatus
public void setStatus(int a)
getStatus
public int getStatus()
getActionTaken
public int getActionTaken()
getStench
public boolean getStench()
getBreeze
public boolean getBreeze()
getGlitter
public boolean getGlitter()
getBump
public boolean getBump()
getScream
public boolean getScream()
getHint
public java.lang.String getHint()
getAverageScore
public double getAverageScore()
getStdDeviation
public double getStdDeviation()