|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--StarSystem
| Field Summary | |
static StarSystem[] |
allSystem
|
| Constructor Summary | |
StarSystem(int ID,
java.lang.String nam,
Planet[] planets)
StarSystem(int, String, Planet[]) |
|
| Method Summary | |
static StarSystem |
get(int id)
|
java.util.Vector |
getMissionChars(char side)
getMissionChars() returns a vector of planets containing characters on the specified side (Rebel or Imperial) |
java.lang.String |
getName()
getName() Returns the StarSystem's name |
Province |
getProvince()
getProvince() Returns the star system's Province |
java.util.Vector |
getsiblingplanets()
getsiblingPlanets Returns the planets in the starsystem as a vector |
int |
getStarId()
getStarId() Returns the StarSystem's ID number |
static StarSystem |
getSystem(java.lang.String name)
|
Planet[] |
getsystemplanets()
getsystemplanets() returns the list of planets in the same star system |
java.util.Vector |
hasRace(java.lang.String race)
hasRace(String) Search StarSystem and returns planets containing a race |
static void |
init()
|
void |
isInProvince(Province p)
Province calls this when it is being created, please do not call it! |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static StarSystem[] allSystem
| Constructor Detail |
public StarSystem(int ID,
java.lang.String nam,
Planet[] planets)
ID - StarSystem's ID numbernam - name of StarSystemplanets - Planets in StarSystem| Method Detail |
public java.lang.String getName()
public int getStarId()
public Province getProvince()
public static StarSystem get(int id)
public static StarSystem getSystem(java.lang.String name)
public void isInProvince(Province p)
public Planet[] getsystemplanets()
public java.util.Vector getsiblingplanets()
public java.util.Vector hasRace(java.lang.String race)
race - Race to Search for
public java.util.Vector getMissionChars(char side)
public static void init()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||