java.lang.Object | +--Location
| Field Summary | |
protected CharacterGroup |
imperialCharGroup
|
protected MilitaryGroup |
imperialMilGroup
|
protected Planet |
planet
|
protected CharacterGroup |
rebelCharGroup
|
protected MilitaryGroup |
rebelMilGroup
|
| Constructor Summary | |
Location()
|
|
| Method Summary | |
Charactr[] |
ConvertImperialCharGroup()
|
Charactr[] |
ConvertRebelCharGroup()
|
Group |
getImperialCharGroup()
getImperialCharGroup() returns the imperialCharGroup on the environ |
Group |
getImperialMilGroup()
getImperialMilGroup() returns the imperialMilGroup on the environ |
int |
getNumImperialCharUnits()
getNumImperialCharUnits() returns the number (int) of units in the the ImperialCharGroup |
int |
getNumImperialMilUnits()
getNumImperialMilUnits() returns the number (int) of units in the the ImperialMilGroup |
int |
getNumRebelCharUnits()
getNumRebelCharUnits() returns the number (int) of units in the the rebelCharGroup |
int |
getNumRebelMilUnits()
getNumRebelMilUnits() returns the number (int) of units in the the rebelMilGroup |
Planet |
getPlanet()
getPlanet() returns the Planet that the environ belongs to |
Group |
getRebelCharGroup()
getRebelCharGroup() returns the rebelCharGroup on the environ |
Group |
getRebelMilGroup()
getRebelMilGroup() returns the rebelMilGroup on the environ |
void |
isInPlanet(Planet p)
Planet calls this when it is being created, please do not call it! |
void |
setPlanet(Planet newplan)
setPlanet() sets the planet attribute |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected MilitaryGroup rebelMilGroup
protected MilitaryGroup imperialMilGroup
protected CharacterGroup rebelCharGroup
protected CharacterGroup imperialCharGroup
protected Planet planet
| Constructor Detail |
public Location()
| Method Detail |
public Planet getPlanet()
public void setPlanet(Planet newplan)
public Group getRebelMilGroup()
public Group getRebelCharGroup()
public Group getImperialMilGroup()
public Group getImperialCharGroup()
public int getNumRebelMilUnits()
public int getNumRebelCharUnits()
public int getNumImperialMilUnits()
public int getNumImperialCharUnits()
public void isInPlanet(Planet p)
public Charactr[] ConvertRebelCharGroup()
public Charactr[] ConvertImperialCharGroup()