Class Location

java.lang.Object
  |
  +--Location
Direct Known Subclasses:
Environ

public class Location
extends java.lang.Object


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

rebelMilGroup

protected MilitaryGroup rebelMilGroup

imperialMilGroup

protected MilitaryGroup imperialMilGroup

rebelCharGroup

protected CharacterGroup rebelCharGroup

imperialCharGroup

protected CharacterGroup imperialCharGroup

planet

protected Planet planet
Constructor Detail

Location

public Location()
Method Detail

getPlanet

public Planet getPlanet()
getPlanet() returns the Planet that the environ belongs to


setPlanet

public void setPlanet(Planet newplan)
setPlanet() sets the planet attribute


getRebelMilGroup

public Group getRebelMilGroup()
getRebelMilGroup() returns the rebelMilGroup on the environ


getRebelCharGroup

public Group getRebelCharGroup()
getRebelCharGroup() returns the rebelCharGroup on the environ


getImperialMilGroup

public Group getImperialMilGroup()
getImperialMilGroup() returns the imperialMilGroup on the environ


getImperialCharGroup

public Group getImperialCharGroup()
getImperialCharGroup() returns the imperialCharGroup on the environ


getNumRebelMilUnits

public int getNumRebelMilUnits()
getNumRebelMilUnits() returns the number (int) of units in the the rebelMilGroup


getNumRebelCharUnits

public int getNumRebelCharUnits()
getNumRebelCharUnits() returns the number (int) of units in the the rebelCharGroup


getNumImperialMilUnits

public int getNumImperialMilUnits()
getNumImperialMilUnits() returns the number (int) of units in the the ImperialMilGroup


getNumImperialCharUnits

public int getNumImperialCharUnits()
getNumImperialCharUnits() returns the number (int) of units in the the ImperialCharGroup


isInPlanet

public void isInPlanet(Planet p)
Planet calls this when it is being created, please do not call it!


ConvertRebelCharGroup

public Charactr[] ConvertRebelCharGroup()

ConvertImperialCharGroup

public Charactr[] ConvertImperialCharGroup()