Class BadSpace

java.lang.Object
  extended by Space
      extended by BadSpace

public class BadSpace
extends Space


Field Summary
 int myCost
           
 double myCostPercent
           
 
Fields inherited from class Space
mortgaged, myColor, myName, myOwner, mySpace, myType
 
Constructor Summary
BadSpace()
           
BadSpace(java.lang.String name, int cost, double percent)
           
 
Method Summary
 int getCost()
           
 double getPercent()
           
 
Methods inherited from class Space
equals, getColor, getMortgaged, getName, getOwner, getType, setMortgaged, setOwner
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

myCost

public int myCost

myCostPercent

public double myCostPercent
Constructor Detail

BadSpace

public BadSpace()

BadSpace

public BadSpace(java.lang.String name,
                int cost,
                double percent)
Method Detail

getCost

public int getCost()

getPercent

public double getPercent()