public class SpouseData extends PersonalData implements ISpouseData
| Modifier and Type | Field and Description |
|---|---|
private int |
connectionsInHerHomeTown |
private int |
connectionsInYourHomeTown |
private int |
numberOfChildren |
private int |
popularityInHerHomeTown |
private int |
popularityInYourHomeTown |
private javafx.scene.image.Image |
portrait |
| Constructor and Description |
|---|
SpouseData(String name,
String lastName,
boolean male,
ICity birthplace,
org.joda.time.DateTime birthDate,
int popHer,
int popYour,
int conHer,
int conYour,
javafx.scene.image.Image portrait) |
| Modifier and Type | Method and Description |
|---|---|
void |
newChild()
New child is born to you
|
getAgeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConnectionsInHerHomeTown, getConnectionsInYourHomeTown, getNumberOfChildren, getPopularityInHerHomeTown, getPopularityInYourHomeTown, getPortraitgetAge, getBirthDate, getBirthPlace, getLastName, getName, isMaleprivate final int popularityInHerHomeTown
private final int popularityInYourHomeTown
private final int connectionsInHerHomeTown
private final int connectionsInYourHomeTown
private final javafx.scene.image.Image portrait
private int numberOfChildren
public void newChild()
ISpouseDatanewChild in interface ISpouseDataCopyright © 2011-2016 Sahits GmbH. All Rights Reserved.