|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.TeamHEC.LocomotionCommotion.MapActors.Game_Map_Manager
public class Game_Map_Manager
Field Summary | |
---|---|
static SpriteButton |
abortRouteBtn
|
static SpriteButton |
cancelRouteBtn
|
static SpriteButton |
confirmRouteBtn
|
static boolean |
infoVisible
|
static int |
junctionTracker
|
static Sprite |
map
|
static int |
mapActors
|
static Sprite |
mapInfo
|
static int |
numberOfJunctions
|
static int |
numberOfStations
|
static Sprite |
planBackground
|
static com.badlogic.gdx.scenes.scene2d.ui.Label |
routeFuelCost
|
static com.badlogic.gdx.scenes.scene2d.ui.Label |
routeLength
|
static com.badlogic.gdx.scenes.scene2d.ui.Label |
routeRemaining
|
static Sprite |
routingModeWindow
|
static int |
stagestart
|
static Sprite |
stationInfo
|
static com.badlogic.gdx.scenes.scene2d.ui.Label |
stationLabelCost
|
static com.badlogic.gdx.scenes.scene2d.ui.Label |
stationLabelFuel
|
static com.badlogic.gdx.scenes.scene2d.ui.Label |
stationLabelName
|
static Game_Map_StationBtn |
stationSelect
|
static int |
stationTracker
|
com.badlogic.gdx.scenes.scene2d.ui.Label.LabelStyle |
style
|
static com.badlogic.gdx.utils.Array<Game_Map_Train> |
trainBlips
|
static TrainInfoUI |
trainInfo
|
static SpriteButton |
undoLastRouteButton
|
Constructor Summary | |
---|---|
Game_Map_Manager()
|
Method Summary | |
---|---|
void |
create(com.badlogic.gdx.scenes.scene2d.Stage stage)
|
static void |
enterRoutingMode()
Enters routing mode |
static void |
exitRoutingMode()
Exits routing mode |
static void |
hideInfoBox()
hides the station info box |
static void |
moveInfoBox(float x,
float y,
boolean faulty)
moves the info box for a station |
static void |
resetMap()
resets the owners of all the stations |
static void |
showInfoBox(boolean faulty)
shows the station info box with repair if the station is faulty |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static Sprite map
public static Sprite mapInfo
public static Sprite stationInfo
public static Game_Map_StationBtn stationSelect
public static TrainInfoUI trainInfo
public static boolean infoVisible
public static int stagestart
public static int mapActors
public static int stationTracker
public static int numberOfStations
public static int junctionTracker
public static int numberOfJunctions
public static com.badlogic.gdx.scenes.scene2d.ui.Label stationLabelFuel
public static com.badlogic.gdx.scenes.scene2d.ui.Label stationLabelName
public static com.badlogic.gdx.scenes.scene2d.ui.Label stationLabelCost
public com.badlogic.gdx.scenes.scene2d.ui.Label.LabelStyle style
public static Sprite planBackground
public static Sprite routingModeWindow
public static com.badlogic.gdx.scenes.scene2d.ui.Label routeLength
public static com.badlogic.gdx.scenes.scene2d.ui.Label routeRemaining
public static com.badlogic.gdx.scenes.scene2d.ui.Label routeFuelCost
public static SpriteButton confirmRouteBtn
public static SpriteButton undoLastRouteButton
public static SpriteButton abortRouteBtn
public static SpriteButton cancelRouteBtn
public static com.badlogic.gdx.utils.Array<Game_Map_Train> trainBlips
Constructor Detail |
---|
public Game_Map_Manager()
Method Detail |
---|
public void create(com.badlogic.gdx.scenes.scene2d.Stage stage)
public static void enterRoutingMode()
public static void exitRoutingMode()
public static void moveInfoBox(float x, float y, boolean faulty)
x
- y
- faulty
- public static void hideInfoBox()
public static void showInfoBox(boolean faulty)
faulty
- public static void resetMap()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |