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

Constructor Summary
TransferPercept()
           
 
Method Summary
 int getActionTaken()
           
 double getAverageScore()
           
 boolean getBreeze()
           
 boolean getBump()
           
 boolean getGlitter()
           
 java.lang.String getHint()
           
 int getImageHeight()
           
 int[][][] getImagePixels()
           
 int getImageWidth()
           
 int getNumArrow()
           
 int getNumGold()
           
 int getScore()
           
 boolean getScream()
           
 int getStatus()
           
 double getStdDeviation()
           
 boolean getStench()
           
 void setActionTaken(int a)
           
 void setAverageScore(double a)
           
 void setHint(java.lang.String s)
           
 void setImage(int[][][] arr, int height, int width)
           
 void setNumArrow(int a)
           
 void setNumGold(int a)
           
 void setPercept(boolean st, boolean br, boolean gli, boolean bu, boolean sc)
           
 void setScore(int a)
           
 void setStatus(int a)
           
 void setStdDeviation(double a)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransferPercept

public TransferPercept()
Method Detail

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()