ch.sahits.game.openpatrician.clientserverinterface.client.ICityPlayerProxyJFXpublic class ViewChangeCityPlayerProxyJFX
extends java.lang.Object
implements ch.sahits.game.openpatrician.clientserverinterface.client.ICityPlayerProxyJFX
| Constructor | Description |
|---|---|
ViewChangeCityPlayerProxyJFX(ch.sahits.game.openpatrician.clientserverinterface.client.ICityPlayerProxyJFX proxy,
ch.sahits.game.openpatrician.event.IViewChangeEvent event) |
Constructor by making a copy of the passed proxy
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
activateShip(ch.sahits.game.openpatrician.model.ship.INavigableVessel ship) |
|
javafx.beans.property.ObjectProperty<ch.sahits.game.openpatrician.model.ship.INavigableVessel> |
activeShipProperty() |
|
void |
arrive(ch.sahits.game.openpatrician.model.ship.INavigableVessel ship) |
|
ch.sahits.game.openpatrician.model.ship.INavigableVessel |
getActiveShip() |
|
ch.sahits.game.openpatrician.model.city.ICity |
getCity() |
|
ch.sahits.game.openpatrician.model.IHumanPlayer |
getPlayer() |
|
javafx.collections.ObservableList<ch.sahits.game.openpatrician.model.ship.INavigableVessel> |
getPlayersNavalVessels() |
|
javafx.collections.ObservableList<ch.sahits.game.openpatrician.model.ship.IShip> |
getPlayersShips() |
|
ch.sahits.game.openpatrician.event.IViewChangeEvent |
getViewChangeEvent() |
|
void |
leave(ch.sahits.game.openpatrician.model.ship.INavigableVessel ship) |
|
void |
setCity(ch.sahits.game.openpatrician.model.city.ICity city) |
public ViewChangeCityPlayerProxyJFX(ch.sahits.game.openpatrician.clientserverinterface.client.ICityPlayerProxyJFX proxy,
ch.sahits.game.openpatrician.event.IViewChangeEvent event)
proxy - city proxypublic ch.sahits.game.openpatrician.event.IViewChangeEvent getViewChangeEvent()
public ch.sahits.game.openpatrician.model.ship.INavigableVessel getActiveShip()
getActiveShip in interface ch.sahits.game.openpatrician.clientserverinterface.client.ICityPlayerProxyJFXpublic javafx.collections.ObservableList<ch.sahits.game.openpatrician.model.ship.INavigableVessel> getPlayersNavalVessels()
getPlayersNavalVessels in interface ch.sahits.game.openpatrician.clientserverinterface.client.ICityPlayerProxyJFXpublic ch.sahits.game.openpatrician.model.city.ICity getCity()
getCity in interface ch.sahits.game.openpatrician.clientserverinterface.client.ICityPlayerProxyJFXpublic void setCity(ch.sahits.game.openpatrician.model.city.ICity city)
setCity in interface ch.sahits.game.openpatrician.clientserverinterface.client.ICityPlayerProxyJFXpublic ch.sahits.game.openpatrician.model.IHumanPlayer getPlayer()
getPlayer in interface ch.sahits.game.openpatrician.clientserverinterface.client.ICityPlayerProxyJFXpublic void activateShip(ch.sahits.game.openpatrician.model.ship.INavigableVessel ship)
activateShip in interface ch.sahits.game.openpatrician.clientserverinterface.client.ICityPlayerProxyJFXpublic javafx.collections.ObservableList<ch.sahits.game.openpatrician.model.ship.IShip> getPlayersShips()
getPlayersShips in interface ch.sahits.game.openpatrician.clientserverinterface.client.ICityPlayerProxyJFXpublic void arrive(ch.sahits.game.openpatrician.model.ship.INavigableVessel ship)
arrive in interface ch.sahits.game.openpatrician.clientserverinterface.client.ICityPlayerProxyJFXpublic void leave(ch.sahits.game.openpatrician.model.ship.INavigableVessel ship)
leave in interface ch.sahits.game.openpatrician.clientserverinterface.client.ICityPlayerProxyJFXpublic javafx.beans.property.ObjectProperty<ch.sahits.game.openpatrician.model.ship.INavigableVessel> activeShipProperty()
activeShipProperty in interface ch.sahits.game.openpatrician.clientserverinterface.client.ICityPlayerProxyJFXCopyright © 2011-2018 Sahits GmbH. All Rights Reserved.