|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Person | |
|---|---|
| de.hagenah.diplomacy.diptool | |
| de.hagenah.diplomacy.game | |
| de.hagenah.diplomacy.map | |
| Uses of Person in de.hagenah.diplomacy.diptool |
|---|
| Methods in de.hagenah.diplomacy.diptool with parameters of type Person | |
|---|---|
DiaryEntry |
DipGame.createDiaryEntry(Person from,
int number,
java.lang.String text,
Phase phase)
Creates a new diary entry (if the diary entry doesn't already exist) |
Message |
DipGame.createMessage(boolean anonymous,
Person from,
boolean toallbut,
java.util.Collection to,
boolean faketoallbut,
java.util.Collection faketo,
java.lang.String text,
java.util.Date date)
Creates a new message (if the message doesn't already exist) |
| Uses of Person in de.hagenah.diplomacy.game |
|---|
| Methods in de.hagenah.diplomacy.game that return Person | |
|---|---|
Person |
Message.getFrom()
Returns the person that sent the message (can be null if unknown). |
Person |
DiaryEntry.getFrom()
Returns the person that created the diary entry (can be null if unknown). |
Person |
Game.getIdentity()
Returns your role in this game (a country, master, or observer). |
Person |
PersonInfo.getPerson()
Return sthe person |
| Methods in de.hagenah.diplomacy.game with parameters of type Person | |
|---|---|
DiaryEntry |
Game.createDiaryEntry(Person from,
int number,
java.lang.String text,
Phase phase)
Creates a new diary entry (if the diary entry doesn't already exist) |
Message |
Game.createMessage(boolean anonymous,
Person from,
boolean toallbut,
java.util.Collection to,
boolean faketoallbut,
java.util.Collection faketo,
java.lang.String text,
java.util.Date date)
Creates a new broadcast/press message (if the message doesn't already exist) |
DiaryEntry |
Game.getDiaryEntry(Person from,
int number)
Returns the specified diary entry. |
boolean |
Message.isVisible(Person person)
Is this message visible to the specified person? |
boolean |
DiaryEntry.isVisible(Person person)
Is this diary entry visible to the specified person? |
void |
Game.setIdentity(Person identity)
Sets your role in this game (a country, master, or observer). |
| Constructors in de.hagenah.diplomacy.game with parameters of type Person | |
|---|---|
DiaryEntry(Person from,
int number,
java.lang.String text,
Phase phase,
int messagenumber)
Creates a new diary message. |
|
Message(boolean anonymous,
Person from,
boolean toallbut,
java.util.Collection to,
boolean faketoallbut,
java.util.Collection faketo,
java.lang.String text,
java.util.Date messagedate,
int lastturnnumber,
int messagenumber)
Creates a new message. |
|
PersonInfo(Person person,
Phase firstphase,
java.lang.String name,
java.lang.String email)
Creates a new PersonInfo. |
|
| Uses of Person in de.hagenah.diplomacy.map |
|---|
| Subclasses of Person in de.hagenah.diplomacy.map | |
|---|---|
class |
Country
The Country class represent a power, e.g. |
| Fields in de.hagenah.diplomacy.map declared as Person | |
|---|---|
static Person |
Person.MASTER
The master |
static Person |
Person.OBSERVER
An observer |
static Person |
Person.POWER
A power before the game starts |
| Methods in de.hagenah.diplomacy.map that return Person | |
|---|---|
Person |
MapData.getPerson(java.lang.String name)
Retrieves the person (country, master, or observer) with the specified name. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||