public class ViewChangeCityPlayerProxyJFX extends Object implements ch.sahits.game.openpatrician.client.ICityPlayerProxyJFX
| Modifier and Type | Field and Description |
|---|---|
private ch.sahits.game.openpatrician.client.ICityPlayerProxyJFX |
proxy |
private ch.sahits.game.event.IViewChangeEvent |
viewchange |
| Constructor and Description |
|---|
ViewChangeCityPlayerProxyJFX(ch.sahits.game.openpatrician.client.ICityPlayerProxyJFX proxy,
ch.sahits.game.event.IViewChangeEvent event)
Constructor by making a copy of the passed proxy
|
| Modifier and Type | Method and Description |
|---|---|
void |
activateShip(ch.sahits.game.openpatrician.model.ship.INavigableVessel ship) |
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.event.IViewChangeEvent |
getViewChangeEvent() |
void |
leave(ch.sahits.game.openpatrician.model.ship.INavigableVessel ship) |
void |
setCity(ch.sahits.game.openpatrician.model.city.ICity city) |
private final ch.sahits.game.event.IViewChangeEvent viewchange
private final ch.sahits.game.openpatrician.client.ICityPlayerProxyJFX proxy
public ViewChangeCityPlayerProxyJFX(ch.sahits.game.openpatrician.client.ICityPlayerProxyJFX proxy,
ch.sahits.game.event.IViewChangeEvent event)
proxy - public ch.sahits.game.event.IViewChangeEvent getViewChangeEvent()
public ch.sahits.game.openpatrician.model.ship.INavigableVessel getActiveShip()
getActiveShip in interface ch.sahits.game.openpatrician.client.ICityPlayerProxyJFXpublic javafx.collections.ObservableList<ch.sahits.game.openpatrician.model.ship.INavigableVessel> getPlayersNavalVessels()
getPlayersNavalVessels in interface ch.sahits.game.openpatrician.client.ICityPlayerProxyJFXpublic ch.sahits.game.openpatrician.model.city.ICity getCity()
getCity in interface ch.sahits.game.openpatrician.client.ICityPlayerProxyJFXpublic void setCity(ch.sahits.game.openpatrician.model.city.ICity city)
setCity in interface ch.sahits.game.openpatrician.client.ICityPlayerProxyJFXpublic ch.sahits.game.openpatrician.model.IHumanPlayer getPlayer()
getPlayer in interface ch.sahits.game.openpatrician.client.ICityPlayerProxyJFXpublic void activateShip(ch.sahits.game.openpatrician.model.ship.INavigableVessel ship)
activateShip in interface ch.sahits.game.openpatrician.client.ICityPlayerProxyJFXpublic javafx.collections.ObservableList<ch.sahits.game.openpatrician.model.ship.IShip> getPlayersShips()
getPlayersShips in interface ch.sahits.game.openpatrician.client.ICityPlayerProxyJFXpublic void arrive(ch.sahits.game.openpatrician.model.ship.INavigableVessel ship)
arrive in interface ch.sahits.game.openpatrician.client.ICityPlayerProxyJFXpublic void leave(ch.sahits.game.openpatrician.model.ship.INavigableVessel ship)
leave in interface ch.sahits.game.openpatrician.client.ICityPlayerProxyJFXCopyright © 2011-2016 Sahits GmbH. All Rights Reserved.