public class Game_Map_Station extends Game_Map_MapObj implements StationListener
| Modifier and Type | Field and Description |
|---|---|
float |
offset |
boolean |
owned |
actorX, actorY, highlighted, started, texture, toggleTexture1, toggleTexture2| Constructor and Description |
|---|
Game_Map_Station(Station station,
float actorX,
float actorY) |
| Modifier and Type | Method and Description |
|---|---|
Station |
getStation() |
void |
hideInfoBox() |
protected void |
onClicked() |
void |
ownerChanged(Station station,
Player player)
Any class than implements this will be notified of a change in ownership
of the station
|
void |
setOwned(java.lang.Boolean b) |
void |
showInfoBox() |
draw, getRouteConnection, getRouteTrain, routeAvailable, setRouteAvailable, setRouteAvailable, toggleHighlightact, addAction, addCaptureListener, addListener, clear, clearActions, clearListeners, clipBegin, clipBegin, clipEnd, debug, drawDebug, drawDebugBounds, fire, getActions, getCaptureListeners, getColor, getDebug, getHeight, getListeners, getName, getOriginX, getOriginY, getParent, getRight, getRotation, getScaleX, getScaleY, getStage, getTop, getTouchable, getUserObject, getWidth, getX, getX, getY, getY, getZIndex, hasParent, hit, isAscendantOf, isDescendantOf, isTouchable, isVisible, localToAscendantCoordinates, localToParentCoordinates, localToStageCoordinates, moveBy, notify, parentToLocalCoordinates, positionChanged, remove, removeAction, removeCaptureListener, removeListener, rotateBy, scaleBy, scaleBy, screenToLocalCoordinates, setBounds, setColor, setColor, setDebug, setHeight, setName, setOrigin, setOrigin, setOriginX, setOriginY, setParent, setPosition, setPosition, setRotation, setScale, setScale, setScaleX, setScaleY, setSize, setStage, setTouchable, setUserObject, setVisible, setWidth, setX, setY, setZIndex, sizeBy, sizeBy, sizeChanged, stageToLocalCoordinates, toBack, toFront, toStringpublic Game_Map_Station(Station station, float actorX, float actorY)
public Station getStation()
public void ownerChanged(Station station, Player player)
StationListenerownerChanged in interface StationListenerstation - the station which has changed ownerplayer - the new owner of the stationprotected void onClicked()
onClicked in class Game_Map_MapObjpublic void showInfoBox()
showInfoBox in class Game_Map_MapObjpublic void hideInfoBox()
hideInfoBox in class Game_Map_MapObjpublic void setOwned(java.lang.Boolean b)