jfreerails.world.accounts
Class EconomicClimate

java.lang.Object
  extended by jfreerails.world.accounts.EconomicClimate
All Implemented Interfaces:
java.io.Serializable, FreerailsSerializable

public class EconomicClimate
extends java.lang.Object
implements FreerailsSerializable

Represents the state of the economy.

Author:
Luke
See Also:
Serialized Form

Field Summary
private  int baseInterestRate
           
static EconomicClimate BOOM
           
private static int i
           
static EconomicClimate MODERATION
           
private  java.lang.String name
           
static EconomicClimate PANIC
           
static EconomicClimate PROSPERITY
           
static EconomicClimate RECESSION
           
private static long serialVersionUID
           
 
Constructor Summary
private EconomicClimate(int r, java.lang.String s)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 int getBaseInterestRate()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

i

private static int i

name

private final java.lang.String name

BOOM

public static final EconomicClimate BOOM

PROSPERITY

public static final EconomicClimate PROSPERITY

MODERATION

public static final EconomicClimate MODERATION

RECESSION

public static final EconomicClimate RECESSION

PANIC

public static final EconomicClimate PANIC

baseInterestRate

private final int baseInterestRate
Constructor Detail

EconomicClimate

private EconomicClimate(int r,
                        java.lang.String s)
Method Detail

getBaseInterestRate

public int getBaseInterestRate()

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object