|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectch.sahits.game.graphic.display.model.ViewChangeCityPlayerProxy
public class ViewChangeCityPlayerProxy
Proxy object for city player for view changes.
| Field Summary | |
|---|---|
private ICityPlayerProxy |
proxy
|
private EViewChangeEvent |
viewchange
|
| Constructor Summary | |
|---|---|
ViewChangeCityPlayerProxy(ICityPlayerProxy proxy,
EViewChangeEvent event)
Constructor by making a copy of the passed proxy |
|
| Method Summary | |
|---|---|
IShip |
getActiveShip()
Retrieve the players active ship |
ICity |
getCity()
Retrieve the city reference |
IPlayer |
getPlayer()
retrieve the player reference |
List<IShip> |
getPlayersShips()
Retrieve the list of all ships of the player currently in the port. |
EViewChangeEvent |
getViewChangeEvent()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final EViewChangeEvent viewchange
private final ICityPlayerProxy proxy
| Constructor Detail |
|---|
public ViewChangeCityPlayerProxy(ICityPlayerProxy proxy,
EViewChangeEvent event)
proxy - | Method Detail |
|---|
public EViewChangeEvent getViewChangeEvent()
public IShip getActiveShip()
ICityPlayerProxy
getActiveShip in interface ICityPlayerProxypublic List<IShip> getPlayersShips()
ICityPlayerProxy
getPlayersShips in interface ICityPlayerProxypublic ICity getCity()
ICityPlayerProxy
getCity in interface ICityPlayerProxypublic IPlayer getPlayer()
ICityPlayerProxy
getPlayer in interface ICityPlayerProxy
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||