A B C D E F G H I J K L M N O P Q R S T U V W X Y

S

saveGameJSON(String) - Method in class com.TeamHEC.LocomotionCommotion.Game.CoreGame
Saves the game to a .json file in the user's home directory in a folder called LocomotionCommotion.
sb - Static variable in class com.TeamHEC.LocomotionCommotion.Game.GameScreen
 
Scene - Class in com.TeamHEC.LocomotionCommotion.Scene
 
Scene() - Constructor for class com.TeamHEC.LocomotionCommotion.Scene.Scene
 
SceneManager - Class in com.TeamHEC.LocomotionCommotion.Scene
This class manages the various scenes held on screen at one time
Score - Class in com.TeamHEC.LocomotionCommotion.Resource
 
Score(int) - Constructor for class com.TeamHEC.LocomotionCommotion.Resource.Score
Initialises Score
screenX - Static variable in class com.TeamHEC.LocomotionCommotion.LocomotionCommotion
 
screenX - Static variable in class com.TeamHEC.LocomotionCommotion.Scene.Scene
 
screenY - Static variable in class com.TeamHEC.LocomotionCommotion.LocomotionCommotion
 
screenY - Static variable in class com.TeamHEC.LocomotionCommotion.Scene.Scene
 
selectedCard - Variable in class com.TeamHEC.LocomotionCommotion.Card.Game_CardHand.Game_CardHandManager
 
selectedGoal - Static variable in class com.TeamHEC.LocomotionCommotion.Goal.GoalMenu
 
selectedGoal - Static variable in class com.TeamHEC.LocomotionCommotion.Goal.PlayerGoals
 
selectedGoalActor - Static variable in class com.TeamHEC.LocomotionCommotion.Goal.PlayerGoals
 
selectedP1 - Static variable in class com.TeamHEC.LocomotionCommotion.MapActors.Game_Map_StationBtn
 
selectedStation - Static variable in class com.TeamHEC.LocomotionCommotion.MapActors.Game_Map_StationBtn
 
selectLabel - Static variable in class com.TeamHEC.LocomotionCommotion.UI_Elements.Game_StartingSequence
 
sell - Variable in class com.TeamHEC.LocomotionCommotion.UI_Elements.Game_Shop.Game_ShopManager
 
sellFuel(String, int, boolean) - Method in class com.TeamHEC.LocomotionCommotion.Player.Shop
 
sellStation(Station) - Method in class com.TeamHEC.LocomotionCommotion.Player.Player
 
setActor(GoalActor) - Method in class com.TeamHEC.LocomotionCommotion.Goal.Goal
Sets the goal actor for the goal
setActorsTouchable(boolean) - Method in class com.TeamHEC.LocomotionCommotion.Scene.Scene
 
setActorY(float) - Method in class com.TeamHEC.LocomotionCommotion.Card.CardActor
Set the y coordinate of the card
setCard(Card) - Method in class com.TeamHEC.LocomotionCommotion.Card.CardActor
Sets the selected card
setConnectionTravelled(float) - Method in class com.TeamHEC.LocomotionCommotion.Train.Route
Can be used to change the position of the train within the route
setCurrentMapObj(MapObj) - Method in class com.TeamHEC.LocomotionCommotion.Train.Route
The currentMapObj the train is positioned at
setEmpty(boolean) - Method in class com.TeamHEC.LocomotionCommotion.Card.CardActor
Sets if the slot is empty
setEmpty(Boolean) - Method in class com.TeamHEC.LocomotionCommotion.Goal.GoalActor
When we set empty we set the value AND change the texture to the relevant texture;
setexpanded(boolean) - Method in class com.TeamHEC.LocomotionCommotion.Card.CardActor
Setter for if the card is expanded
setFuelPerTurn(int) - Method in class com.TeamHEC.LocomotionCommotion.Train.Train
set the fuel per turn of a train
setGameScreen() - Method in class com.TeamHEC.LocomotionCommotion.LocomotionCommotion
This Method sets the screen to the gameScreen, We dispose the startScene, create a new gameScreen reset the screen which resets the booleans to the start setting for all the relevant gamescreen objects.
setGoal(Goal) - Method in class com.TeamHEC.LocomotionCommotion.Goal.GoalActor
Sets the goal for the goal actor
setIndex(int) - Method in class com.TeamHEC.LocomotionCommotion.Goal.GoalActor
Sets the goal's index
setInStation(boolean) - Method in class com.TeamHEC.LocomotionCommotion.Train.Train
sets if a train is in a station
setMenuScreen() - Method in class com.TeamHEC.LocomotionCommotion.LocomotionCommotion
This Method changes the screen to startScene.
setnewgoalindex(int) - Method in class com.TeamHEC.LocomotionCommotion.Goal.PlayerGoalRemoveBtn
Sets the goal index
setOwned(Boolean) - Method in class com.TeamHEC.LocomotionCommotion.MapActors.Game_Map_Station
sets if a station is owned
setOwnedgoal(boolean) - Method in class com.TeamHEC.LocomotionCommotion.Goal.GoalActor
Sets if a goal has an owner
setOwner(Player) - Method in class com.TeamHEC.LocomotionCommotion.Card.Card
Sets the owner of the card
setOwner(Player) - Method in class com.TeamHEC.LocomotionCommotion.Map.Station
Changes the owner of this station and notifies listeners
setPlanRouteButtonVisible(boolean) - Method in class com.TeamHEC.LocomotionCommotion.Goal.GoalActor
Sets of the route plan button is visible
setPosition(float, float) - Method in class com.TeamHEC.LocomotionCommotion.UI_Elements.Sprite
set the position of the sprite
setRedoBtn() - Method in class com.TeamHEC.LocomotionCommotion.Goal.PlayerGoalRemoveBtn
Sets the redo button
setRentValueMod(int) - Method in class com.TeamHEC.LocomotionCommotion.Map.Station
Sets the rent value modifier
setResourceOutMod(int) - Method in class com.TeamHEC.LocomotionCommotion.Map.Station
 
setResourcesHeight(float) - Static method in class com.TeamHEC.LocomotionCommotion.UI_Elements.GameScreenUI
Changes all quantity label heights with the toggle resources button
setRouteAvailable(boolean) - Method in class com.TeamHEC.LocomotionCommotion.MapActors.Game_Map_MapObj
Sets if the route is availible
setRouteAvailable(Train, Connection) - Method in class com.TeamHEC.LocomotionCommotion.MapActors.Game_Map_MapObj
sets the route and of the route is availible
setRouteIndex(int) - Method in class com.TeamHEC.LocomotionCommotion.Train.Route
Can be used to change the position of the train within the route
setSlot(int) - Method in class com.TeamHEC.LocomotionCommotion.Card.CardActor
Set the slot the card is in
setSpecial(boolean) - Method in class com.TeamHEC.LocomotionCommotion.Goal.Goal
Sets the special flag for the goal
setSpeedMod(int) - Method in class com.TeamHEC.LocomotionCommotion.Train.Train
Set the speed modifier of a train
setStage(Stage) - Static method in class com.TeamHEC.LocomotionCommotion.Game.GameScreen
Sets the current stage for the core game
setTexture(Texture) - Method in class com.TeamHEC.LocomotionCommotion.Card.CardActor
Sets the texture for the card
setTexture(Texture) - Method in class com.TeamHEC.LocomotionCommotion.UI_Elements.Sprite
 
setToBuy() - Method in class com.TeamHEC.LocomotionCommotion.UI_Elements.Game_Shop.ShopHomeScreen
Sets the shop to buy mode
setToSell() - Method in class com.TeamHEC.LocomotionCommotion.UI_Elements.Game_Shop.ShopHomeScreen
Seth the shop to sell mode
setUndo(boolean) - Method in class com.TeamHEC.LocomotionCommotion.Goal.PlayerGoalRemoveBtn
Sets if you can undo selecting the goal
setValue(int) - Method in class com.TeamHEC.LocomotionCommotion.Resource.Resource
 
setValueMod(int) - Method in class com.TeamHEC.LocomotionCommotion.Map.Station
Sets the value mod
setVisibility(boolean) - Method in class com.TeamHEC.LocomotionCommotion.Scene.Scene
 
setX(float) - Method in class com.TeamHEC.LocomotionCommotion.Goal.GoalActor
Sets the X coordinate of the actor
setX(float) - Method in class com.TeamHEC.LocomotionCommotion.UI_Elements.Sprite
Set the X coordinate for the sprite
setY(float) - Method in class com.TeamHEC.LocomotionCommotion.Goal.GoalActor
Sets the Y coordinate of the goal actor
setY(float) - Method in class com.TeamHEC.LocomotionCommotion.UI_Elements.Sprite
Set the Y coordinate for the sprite
Shop - Class in com.TeamHEC.LocomotionCommotion.Player
 
Shop(Player) - Constructor for class com.TeamHEC.LocomotionCommotion.Player.Shop
The initialiser for shop.
show() - Method in class com.TeamHEC.LocomotionCommotion.Game.GameScreen
 
show() - Method in class com.TeamHEC.LocomotionCommotion.Scene.Scene
 
showConnectionBlips(Connection) - Method in class com.TeamHEC.LocomotionCommotion.Train.Route
Creates route UI dots for this connection
showInfoBox(boolean) - Static method in class com.TeamHEC.LocomotionCommotion.MapActors.Game_Map_Manager
shows the station info box with repair if the station is faulty
showInfoBox() - Method in class com.TeamHEC.LocomotionCommotion.MapActors.Game_Map_MapObj
 
showInfoBox(boolean) - Method in class com.TeamHEC.LocomotionCommotion.MapActors.Game_Map_Station
show the info box for a selected station
showLabel(Train) - Method in class com.TeamHEC.LocomotionCommotion.Train.TrainInfoUI
Show the info label for a train
showRouteBlips() - Method in class com.TeamHEC.LocomotionCommotion.Train.Route
Makes all the white route blips between connections visible, the red dot indicates direction
sm_howtoplay_frame - Variable in class com.TeamHEC.LocomotionCommotion.Scene.SM_TextureManager
 
sm_howtoplay_homebtn - Variable in class com.TeamHEC.LocomotionCommotion.Scene.SM_TextureManager
 
sm_howtoplay_line - Variable in class com.TeamHEC.LocomotionCommotion.Scene.SM_TextureManager
 
sm_howtoplay_nextbtn - Variable in class com.TeamHEC.LocomotionCommotion.Scene.SM_TextureManager
 
sm_howtoplay_previousbtn - Variable in class com.TeamHEC.LocomotionCommotion.Scene.SM_TextureManager
 
sm_howtoplay_title - Variable in class com.TeamHEC.LocomotionCommotion.Scene.SM_TextureManager
 
sm_loadgame_Examples - Variable in class com.TeamHEC.LocomotionCommotion.Scene.SM_TextureManager
 
sm_loadgame_Title - Variable in class com.TeamHEC.LocomotionCommotion.Scene.SM_TextureManager
 
sm_main_exitButton - Variable in class com.TeamHEC.LocomotionCommotion.Scene.SM_TextureManager
 
sm_main_howtoplaybtn - Variable in class com.TeamHEC.LocomotionCommotion.Scene.SM_TextureManager
 
sm_main_linesimg - Variable in class com.TeamHEC.LocomotionCommotion.Scene.SM_TextureManager
 
sm_main_loadgamebtn - Variable in class com.TeamHEC.LocomotionCommotion.Scene.SM_TextureManager
 
sm_main_newgamebtn - Variable in class com.TeamHEC.LocomotionCommotion.Scene.SM_TextureManager
 
sm_main_preferencesbtn - Variable in class com.TeamHEC.LocomotionCommotion.Scene.SM_TextureManager
 
sm_main_title - Variable in class com.TeamHEC.LocomotionCommotion.Scene.SM_TextureManager
 
sm_newgame_BackBtn - Variable in class com.TeamHEC.LocomotionCommotion.Scene.SM_TextureManager
 
sm_newgame_GoBtn - Variable in class com.TeamHEC.LocomotionCommotion.Scene.SM_TextureManager
 
sm_newgame_MenuText - Variable in class com.TeamHEC.LocomotionCommotion.Scene.SM_TextureManager
 
sm_newgame_StationDom_unselected_Btn - Variable in class com.TeamHEC.LocomotionCommotion.Scene.SM_TextureManager
 
sm_newgame_StationDomBtn - Variable in class com.TeamHEC.LocomotionCommotion.Scene.SM_TextureManager
 
sm_newgame_TempTextBox - Variable in class com.TeamHEC.LocomotionCommotion.Scene.SM_TextureManager
 
sm_newgame_Turn100_unselected_Btn - Variable in class com.TeamHEC.LocomotionCommotion.Scene.SM_TextureManager
 
sm_newgame_Turn100Btn - Variable in class com.TeamHEC.LocomotionCommotion.Scene.SM_TextureManager
 
sm_newgame_Turn150_unselected_Btn - Variable in class com.TeamHEC.LocomotionCommotion.Scene.SM_TextureManager
 
sm_newgame_Turn150Btn - Variable in class com.TeamHEC.LocomotionCommotion.Scene.SM_TextureManager
 
sm_newgame_Turn50_unselected_Btn - Variable in class com.TeamHEC.LocomotionCommotion.Scene.SM_TextureManager
 
sm_newgame_Turn50Btn - Variable in class com.TeamHEC.LocomotionCommotion.Scene.SM_TextureManager
 
sm_newgame_TurnTimeOutBtn - Variable in class com.TeamHEC.LocomotionCommotion.Scene.SM_TextureManager
 
sm_newgameTurnTimeOut_unselected_Btn - Variable in class com.TeamHEC.LocomotionCommotion.Scene.SM_TextureManager
 
sm_preferences_ControlSettingsBtn - Variable in class com.TeamHEC.LocomotionCommotion.Scene.SM_TextureManager
 
sm_preferences_DisplaySettingsBtn - Variable in class com.TeamHEC.LocomotionCommotion.Scene.SM_TextureManager
 
sm_preferences_GameSettingsBtn - Variable in class com.TeamHEC.LocomotionCommotion.Scene.SM_TextureManager
 
sm_preferences_SoundSettingsBtn - Variable in class com.TeamHEC.LocomotionCommotion.Scene.SM_TextureManager
 
sm_preferences_Title - Variable in class com.TeamHEC.LocomotionCommotion.Scene.SM_TextureManager
 
sm_preferences_VertLine - Variable in class com.TeamHEC.LocomotionCommotion.Scene.SM_TextureManager
 
SM_TextureManager - Class in com.TeamHEC.LocomotionCommotion.Scene
Holds all the textures and file paths for all actors in StartMenu This means if we need to change a file path you come here.
SpecialGoal - Class in com.TeamHEC.LocomotionCommotion.Goal
 
SpecialGoal(Station, Station, Station, String, int) - Constructor for class com.TeamHEC.LocomotionCommotion.Goal.SpecialGoal
 
SpecialGoal(Station, Station, Station, String, int, int) - Constructor for class com.TeamHEC.LocomotionCommotion.Goal.SpecialGoal
 
speed - Static variable in class com.TeamHEC.LocomotionCommotion.Train.TrainInfoUI
 
SpeedUpgrade - Class in com.TeamHEC.LocomotionCommotion.Train
 
SpeedUpgrade(Train) - Constructor for class com.TeamHEC.LocomotionCommotion.Train.SpeedUpgrade
 
Sprite - Class in com.TeamHEC.LocomotionCommotion.UI_Elements
 
Sprite(float, float, Texture) - Constructor for class com.TeamHEC.LocomotionCommotion.UI_Elements.Sprite
Creates a Sprite which can be drawn to a stage
SpriteButton - Class in com.TeamHEC.LocomotionCommotion.UI_Elements
 
SpriteButton(float, float, Texture) - Constructor for class com.TeamHEC.LocomotionCommotion.UI_Elements.SpriteButton
A sprite which can be clicked on.
stage - Variable in class com.TeamHEC.LocomotionCommotion.Scene.Scene
 
stageEnd - Static variable in class com.TeamHEC.LocomotionCommotion.Train.TrainDepotUI.Game_TrainDepotManager
 
stageend - Static variable in class com.TeamHEC.LocomotionCommotion.UI_Elements.Game_PauseMenu.Game_Pause_Manager
 
stageEnd - Static variable in class com.TeamHEC.LocomotionCommotion.UI_Elements.Game_Shop.Game_ShopManager
 
stagestart - Variable in class com.TeamHEC.LocomotionCommotion.Card.Game_CardHand.Game_CardHandManager
 
stagestart - Static variable in class com.TeamHEC.LocomotionCommotion.Goal.GoalMenu
 
stagestart - Static variable in class com.TeamHEC.LocomotionCommotion.Goal.PlayerGoals
 
stagestart - Static variable in class com.TeamHEC.LocomotionCommotion.MapActors.Game_Map_Manager
 
stageStart - Static variable in class com.TeamHEC.LocomotionCommotion.Train.TrainDepotUI.Game_TrainDepotManager
 
stagestart - Static variable in class com.TeamHEC.LocomotionCommotion.UI_Elements.Game_PauseMenu.Game_Pause_Manager
 
stageStart - Static variable in class com.TeamHEC.LocomotionCommotion.UI_Elements.Game_Shop.Game_ShopManager
 
stagestart - Static variable in class com.TeamHEC.LocomotionCommotion.UI_Elements.Game_StartingSequence
 
start - Variable in class com.TeamHEC.LocomotionCommotion.UI_Elements.Game_Shop.Game_ShopManager
 
started - Variable in class com.TeamHEC.LocomotionCommotion.MapActors.Game_Map_MapObj
 
started - Variable in class com.TeamHEC.LocomotionCommotion.UI_Elements.Sprite
 
startGame() - Static method in class com.TeamHEC.LocomotionCommotion.UI_Elements.Game_StartingSequence
Starts the game
startGameActors - Static variable in class com.TeamHEC.LocomotionCommotion.UI_Elements.Game_StartingSequence
 
StartMenu - Class in com.TeamHEC.LocomotionCommotion.Scene
 
StartMenu() - Constructor for class com.TeamHEC.LocomotionCommotion.Scene.StartMenu
 
startpage - Variable in class com.TeamHEC.LocomotionCommotion.UI_Elements.Game_Shop.Game_ShopManager
 
startScene - Variable in class com.TeamHEC.LocomotionCommotion.Scene.SceneManager
 
startScreenStageEnd - Static variable in class com.TeamHEC.LocomotionCommotion.UI_Elements.Game_Shop.Game_ShopManager
 
startScreenStageStart - Static variable in class com.TeamHEC.LocomotionCommotion.UI_Elements.Game_Shop.Game_ShopManager
 
StartTurn() - Method in class com.TeamHEC.LocomotionCommotion.Game.CoreGame
Starts a players turn.
Station - Class in com.TeamHEC.LocomotionCommotion.Map
 
Station(String, int, Resource, int, Line[], int, float, float) - Constructor for class com.TeamHEC.LocomotionCommotion.Map.Station
 
station - Variable in class com.TeamHEC.LocomotionCommotion.MapActors.Game_Map_TextureManager
 
stationBroken - Variable in class com.TeamHEC.LocomotionCommotion.MapActors.Game_Map_TextureManager
 
stationBuy - Variable in class com.TeamHEC.LocomotionCommotion.MapActors.Game_Map_TextureManager
 
stationInfo - Static variable in class com.TeamHEC.LocomotionCommotion.MapActors.Game_Map_Manager
 
stationInfo - Variable in class com.TeamHEC.LocomotionCommotion.MapActors.Game_Map_TextureManager
 
stationLabelCost - Static variable in class com.TeamHEC.LocomotionCommotion.MapActors.Game_Map_Manager
 
stationLabelFuel - Static variable in class com.TeamHEC.LocomotionCommotion.MapActors.Game_Map_Manager
 
stationLabelName - Static variable in class com.TeamHEC.LocomotionCommotion.MapActors.Game_Map_Manager
 
StationListener - Interface in com.TeamHEC.LocomotionCommotion.Map
 
stationPassed(Station, Train) - Method in class com.TeamHEC.LocomotionCommotion.Goal.Goal
Listener trigger when a train passes a station
stationPassed(Station, Train) - Method in class com.TeamHEC.LocomotionCommotion.Player.Player
 
stationPassed(Station, Train) - Method in interface com.TeamHEC.LocomotionCommotion.Train.RouteListener
 
stationRepair - Variable in class com.TeamHEC.LocomotionCommotion.MapActors.Game_Map_TextureManager
 
stationRewards() - Method in class com.TeamHEC.LocomotionCommotion.Player.Player
Generates fuel from stations.
stations - Static variable in class com.TeamHEC.LocomotionCommotion.Goal.Graph.Dijkstra
 
stationSelect - Static variable in class com.TeamHEC.LocomotionCommotion.MapActors.Game_Map_Manager
 
stationSelect - Variable in class com.TeamHEC.LocomotionCommotion.MapActors.Game_Map_TextureManager
 
stationsList - Variable in class com.TeamHEC.LocomotionCommotion.Map.WorldMap
 
stationTracker - Static variable in class com.TeamHEC.LocomotionCommotion.MapActors.Game_Map_Manager
 
stationUpgrade - Variable in class com.TeamHEC.LocomotionCommotion.MapActors.Game_Map_TextureManager
 
stationx2 - Variable in class com.TeamHEC.LocomotionCommotion.MapActors.Game_Map_TextureManager
 
stationx2Broken - Variable in class com.TeamHEC.LocomotionCommotion.MapActors.Game_Map_TextureManager
 
STOCKHOLM - Variable in class com.TeamHEC.LocomotionCommotion.Map.WorldMap
 
strToInt(StringBuilder) - Static method in class com.TeamHEC.LocomotionCommotion.UI_Elements.Game_Shop
Converts a string builder to an integer
style - Static variable in class com.TeamHEC.LocomotionCommotion.Goal.GoalMenu
 
style - Variable in class com.TeamHEC.LocomotionCommotion.Goal.PlayerGoals
 
style - Variable in class com.TeamHEC.LocomotionCommotion.MapActors.Game_Map_Manager
 
style - Variable in class com.TeamHEC.LocomotionCommotion.Train.TrainInfoUI
 
style - Static variable in class com.TeamHEC.LocomotionCommotion.UI_Elements.Game_Shop.Game_ShopManager
 
style - Static variable in class com.TeamHEC.LocomotionCommotion.UI_Elements.Game_Shop.ShopHomeScreen.Game_shop_card
 
style - Static variable in class com.TeamHEC.LocomotionCommotion.UI_Elements.Game_Shop.ShopHomeScreen.Game_shop_coal
 
style - Static variable in class com.TeamHEC.LocomotionCommotion.UI_Elements.Game_Shop.ShopHomeScreen.Game_shop_coal_train
 
style - Static variable in class com.TeamHEC.LocomotionCommotion.UI_Elements.Game_Shop.ShopHomeScreen.Game_shop_electric
 
style - Static variable in class com.TeamHEC.LocomotionCommotion.UI_Elements.Game_Shop.ShopHomeScreen.Game_shop_electric_train
 
style - Static variable in class com.TeamHEC.LocomotionCommotion.UI_Elements.Game_Shop.ShopHomeScreen.Game_shop_nuclear
 
style - Static variable in class com.TeamHEC.LocomotionCommotion.UI_Elements.Game_Shop.ShopHomeScreen.Game_shop_nuclear_train
 
style - Static variable in class com.TeamHEC.LocomotionCommotion.UI_Elements.Game_Shop.ShopHomeScreen.Game_shop_oil
 
style - Static variable in class com.TeamHEC.LocomotionCommotion.UI_Elements.Game_Shop.ShopHomeScreen.Game_shop_oil_train
 
style - Static variable in class com.TeamHEC.LocomotionCommotion.UI_Elements.Game_Shop.ShopHomeScreen.Game_shop_train
 
subFuel(String, int) - Method in class com.TeamHEC.LocomotionCommotion.Player.Player
 
subGold(int) - Method in class com.TeamHEC.LocomotionCommotion.Player.Player
 
subRentValueMod(int) - Method in class com.TeamHEC.LocomotionCommotion.Map.Station
Subtracts from the rent value modifier
subResourceOutMod(int) - Method in class com.TeamHEC.LocomotionCommotion.Map.Station
Subtracts from the resources out mod
subValue(int) - Method in class com.TeamHEC.LocomotionCommotion.Resource.Resource
Subtracts from value using an integer
subValue(Resource) - Method in class com.TeamHEC.LocomotionCommotion.Resource.Resource
Subtracts from value using another Resource object.
subValueMod(int) - Method in class com.TeamHEC.LocomotionCommotion.Map.Station
Subtracts from the value mod

A B C D E F G H I J K L M N O P Q R S T U V W X Y