|
|||||||||
| Home >> All >> org >> zazof >> [ jtegServer overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.zazof.jtegServer
Class Continent

java.lang.Objectorg.zazof.jtegServer.Continent
- public class Continent
- extends java.lang.Object
| Field Summary | |
private java.util.Vector |
$countries
|
private java.lang.String |
$name
|
| Constructor Summary | |
Continent(java.lang.String name)
|
|
| Method Summary | |
void |
addCountry(Country c)
|
java.lang.String |
getName()
|
Player |
getOwner()
returns the players who owns all the countries of this continent, else null |
boolean |
hasSingleOwner()
returns true is all countries of this continent are owned by 1 player |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
$name
private java.lang.String $name
$countries
private java.util.Vector $countries
| Constructor Detail |
Continent
public Continent(java.lang.String name)
| Method Detail |
hasSingleOwner
public boolean hasSingleOwner()
- returns true is all countries of this continent are owned by 1 player
getOwner
public Player getOwner()
- returns the players who owns all the countries of this continent, else null
addCountry
public void addCountry(Country c)
getName
public java.lang.String getName()
|
|||||||||
| Home >> All >> org >> zazof >> [ jtegServer overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.zazof.jtegServer.Continent