zork2Class
Class Reward

java.lang.Object
  |
  +--zork2Class.Reward

public class Reward
extends java.lang.Object

classe : Reward.java
the definition of reward given by ordeal

Author:
Fabien BOYERE, Michel de VERDELHAN

Constructor Summary
Reward()
          default Constructor for Reward.
 
Method Summary
 int getDexterityBonus()
          Returns the dexterityBonus.
 int getEnergyBonus()
          Returns the energyBonus.
 int getIntelligenceBonus()
          Returns the intelligenceBonus.
 java.util.Vector getItem()
          Returns the item.
 int getLifeBonus()
          Returns the lifeBonus.
 int getScore()
          Returns the score.
 int getStrengthBonus()
          Returns the strengthBonus.
 void setDexterityBonus(int dexterityBonus)
          Sets the dexterityBonus.
 void setEnergyBonus(int energyBonus)
          Sets the energyBonus.
 void setIntelligenceBonus(int intelligenceBonus)
          Sets the intelligenceBonus.
 void setItem(java.util.Vector item)
          Sets the item.
 void setLifeBonus(int lifeBonus)
          Sets the lifeBonus.
 void setScore(int score)
          Sets the score.
 void setStrengthBonus(int strengthBonus)
          Sets the strengthBonus.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Reward

public Reward()
default Constructor for Reward.

Method Detail

getDexterityBonus

public int getDexterityBonus()
Returns the dexterityBonus.

Returns:
int

getEnergyBonus

public int getEnergyBonus()
Returns the energyBonus.

Returns:
int

getIntelligenceBonus

public int getIntelligenceBonus()
Returns the intelligenceBonus.

Returns:
int

getItem

public java.util.Vector getItem()
Returns the item.

Returns:
Vector

getLifeBonus

public int getLifeBonus()
Returns the lifeBonus.

Returns:
int

getScore

public int getScore()
Returns the score.

Returns:
int

getStrengthBonus

public int getStrengthBonus()
Returns the strengthBonus.

Returns:
int

setDexterityBonus

public void setDexterityBonus(int dexterityBonus)
Sets the dexterityBonus.

Parameters:
dexterityBonus - The dexterityBonus to set

setEnergyBonus

public void setEnergyBonus(int energyBonus)
Sets the energyBonus.

Parameters:
energyBonus - The energyBonus to set

setIntelligenceBonus

public void setIntelligenceBonus(int intelligenceBonus)
Sets the intelligenceBonus.

Parameters:
intelligenceBonus - The intelligenceBonus to set

setItem

public void setItem(java.util.Vector item)
Sets the item.

Parameters:
item - The item to set

setLifeBonus

public void setLifeBonus(int lifeBonus)
Sets the lifeBonus.

Parameters:
lifeBonus - The lifeBonus to set

setScore

public void setScore(int score)
Sets the score.

Parameters:
score - The score to set

setStrengthBonus

public void setStrengthBonus(int strengthBonus)
Sets the strengthBonus.

Parameters:
strengthBonus - The strengthBonus to set