|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.ObjectSpace
Property
public class Property
| Field Summary | |
|---|---|
protected int |
groupType
|
protected int |
houses
|
protected int |
myCost
|
protected int[] |
myRent
|
| Fields inherited from class Space |
|---|
mortgaged, myColor, myName, myOwner, mySpace, myType |
| Constructor Summary | |
|---|---|
Property()
|
|
Property(java.lang.String name,
java.awt.Color color,
int cost,
int[] rent,
int gType)
|
|
| Method Summary | |
|---|---|
void |
changeHouses(int x)
|
boolean |
equals(java.lang.Object o)
|
int |
getCost()
|
int |
getGroup()
|
int |
getHouses()
|
int |
getRent()
|
void |
setHouses(int h)
|
| Methods inherited from class Space |
|---|
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 |
|---|
protected int myCost
protected int[] myRent
protected int houses
protected int groupType
| Constructor Detail |
|---|
public Property()
public Property(java.lang.String name,
java.awt.Color color,
int cost,
int[] rent,
int gType)
| Method Detail |
|---|
public int getGroup()
public int getCost()
public int getHouses()
public void setHouses(int h)
public void changeHouses(int x)
public int getRent()
public boolean equals(java.lang.Object o)
equals in class Space
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||