- calculatePoints() - Method in class com.TeamHEC.LocomotionCommotion.Goal.Goal
-
Used to calculate how many points to add to a player's score upon completion of goal
EstimateOptimalDuration = how many turns it would take train to travel goal's optimal route at base speed
CurrentGoalDuration = how many turns it actually took the train
reward = length of optimal journey
- camera - Variable in class com.TeamHEC.LocomotionCommotion.Game.GameScreen
-
- camera - Static variable in class com.TeamHEC.LocomotionCommotion.Scene.Scene
-
- cancelRoute() - Method in class com.TeamHEC.LocomotionCommotion.Train.Route
-
A repeated undo
- cancelRouteBtn - Static variable in class com.TeamHEC.LocomotionCommotion.MapActors.Game_Map_Manager
-
- cancelRouteBtn - Variable in class com.TeamHEC.LocomotionCommotion.UI_Elements.Game_TextureManager
-
- canMove - Variable in class com.TeamHEC.LocomotionCommotion.MapActors.Game_Map_Train
-
- Card - Class in com.TeamHEC.LocomotionCommotion.Card
-
- Card(Player, Texture, String) - Constructor for class com.TeamHEC.LocomotionCommotion.Card.Card
-
Initialise's the Card's key parameters.
- card1 - Static variable in class com.TeamHEC.LocomotionCommotion.Card.Game_CardHand.Game_CardHandManager
-
- card2 - Static variable in class com.TeamHEC.LocomotionCommotion.Card.Game_CardHand.Game_CardHandManager
-
- card3 - Static variable in class com.TeamHEC.LocomotionCommotion.Card.Game_CardHand.Game_CardHandManager
-
- card4 - Static variable in class com.TeamHEC.LocomotionCommotion.Card.Game_CardHand.Game_CardHandManager
-
- card5 - Static variable in class com.TeamHEC.LocomotionCommotion.Card.Game_CardHand.Game_CardHandManager
-
- card6 - Static variable in class com.TeamHEC.LocomotionCommotion.Card.Game_CardHand.Game_CardHandManager
-
- card7 - Static variable in class com.TeamHEC.LocomotionCommotion.Card.Game_CardHand.Game_CardHandManager
-
- CardActor - Class in com.TeamHEC.LocomotionCommotion.Card
-
- CardActor(Texture, int, int, boolean, int) - Constructor for class com.TeamHEC.LocomotionCommotion.Card.CardActor
-
- cardactors - Variable in class com.TeamHEC.LocomotionCommotion.Card.Game_CardHand.Game_CardHandManager
-
- cardActors - Variable in class com.TeamHEC.LocomotionCommotion.Card.Game_CardHand.Game_CardHandManager
-
- cardCollapse() - Method in class com.TeamHEC.LocomotionCommotion.Card.CardActor
-
- cardExpand() - Method in class com.TeamHEC.LocomotionCommotion.Card.CardActor
-
- CardFactory - Class in com.TeamHEC.LocomotionCommotion.Card
-
- CardFactory(Player) - Constructor for class com.TeamHEC.LocomotionCommotion.Card.CardFactory
-
The initialiser.
- CardFactoryTest - Class in com.TeamHEC.LocomotionCommotion.Card
-
- CardFactoryTest() - Constructor for class com.TeamHEC.LocomotionCommotion.Card.CardFactoryTest
-
- carditem - Variable in class com.TeamHEC.LocomotionCommotion.UI_Elements.Game_Shop.Game_ShopManager
-
- cardPrice - Static variable in class com.TeamHEC.LocomotionCommotion.Player.Shop
-
- cardQuant - Static variable in class com.TeamHEC.LocomotionCommotion.UI_Elements.GameScreenUI
-
- cardSellPrice - Static variable in class com.TeamHEC.LocomotionCommotion.Player.Shop
-
- CardTest - Class in com.TeamHEC.LocomotionCommotion.Card
-
- CardTest() - Constructor for class com.TeamHEC.LocomotionCommotion.Card.CardTest
-
- changeCam(int, int) - Method in class com.TeamHEC.LocomotionCommotion.Scene.Scene
-
Can be used to change or animate the cameras position
- changeHeight(float) - Method in class com.TeamHEC.LocomotionCommotion.Card.Game_CardHand.Game_CardHandManager
-
Moves the cards up or down
- changePlayer(Player) - Static method in class com.TeamHEC.LocomotionCommotion.Card.Game_CardHand.Game_CardHandManager
-
Change Player gets the cards from the new player when a turn is ended and puts the player's cards back.
- changePlayer(Player) - Static method in class com.TeamHEC.LocomotionCommotion.Goal.PlayerGoals
-
Change Player is used when we end turn to get the goals of the player whose turn it is.
- changeQuantity(int) - Static method in class com.TeamHEC.LocomotionCommotion.UI_Elements.Game_Shop.ShopHomeScreen.Game_shop_coal
-
- changeQuantity(int) - Static method in class com.TeamHEC.LocomotionCommotion.UI_Elements.Game_Shop.ShopHomeScreen.Game_shop_electric
-
- changeQuantity(int) - Static method in class com.TeamHEC.LocomotionCommotion.UI_Elements.Game_Shop.ShopHomeScreen.Game_shop_nuclear
-
- changeQuantity(int) - Static method in class com.TeamHEC.LocomotionCommotion.UI_Elements.Game_Shop.ShopHomeScreen.Game_shop_oil
-
- chooseTrain - Static variable in class com.TeamHEC.LocomotionCommotion.Goal.PlayerGoals
-
- classpath(String) - Method in class com.TeamHEC.LocomotionCommotion.Mocking.MockFileHandler
-
- clickedTrain() - Method in class com.TeamHEC.LocomotionCommotion.MapActors.Game_Map_Train
-
- Coal - Class in com.TeamHEC.LocomotionCommotion.Resource
-
- Coal(int) - Constructor for class com.TeamHEC.LocomotionCommotion.Resource.Coal
-
Initialises Coal
- CoalCard - Class in com.TeamHEC.LocomotionCommotion.Card
-
- CoalCard(Player) - Constructor for class com.TeamHEC.LocomotionCommotion.Card.CoalCard
-
Initialises the CoalCard
- coalitem - Variable in class com.TeamHEC.LocomotionCommotion.UI_Elements.Game_Shop.Game_ShopManager
-
- coalPrice - Static variable in class com.TeamHEC.LocomotionCommotion.Player.Shop
-
- coalQuant - Static variable in class com.TeamHEC.LocomotionCommotion.UI_Elements.GameScreenUI
-
- coalSellPrice - Static variable in class com.TeamHEC.LocomotionCommotion.Player.Shop
-
- CoalTrain - Class in com.TeamHEC.LocomotionCommotion.Train
-
- CoalTrain(int, boolean, Route, Player) - Constructor for class com.TeamHEC.LocomotionCommotion.Train.CoalTrain
-
- col1 - Static variable in class com.TeamHEC.LocomotionCommotion.Goal.GoalMenu
-
- col2 - Static variable in class com.TeamHEC.LocomotionCommotion.Goal.GoalMenu
-
- col3 - Static variable in class com.TeamHEC.LocomotionCommotion.Goal.GoalMenu
-
- collapseCards() - Static method in class com.TeamHEC.LocomotionCommotion.Card.Game_CardHand.Game_CardHandManager
-
CollapseCards- resets any card that is not selected to unexpanded position
- com.TeamHEC.LocomotionCommotion - package com.TeamHEC.LocomotionCommotion
-
- com.TeamHEC.LocomotionCommotion.Card - package com.TeamHEC.LocomotionCommotion.Card
-
- com.TeamHEC.LocomotionCommotion.desktop - package com.TeamHEC.LocomotionCommotion.desktop
-
- com.TeamHEC.LocomotionCommotion.Game - package com.TeamHEC.LocomotionCommotion.Game
-
- com.TeamHEC.LocomotionCommotion.Goal - package com.TeamHEC.LocomotionCommotion.Goal
-
- com.TeamHEC.LocomotionCommotion.Goal.Graph - package com.TeamHEC.LocomotionCommotion.Goal.Graph
-
- com.TeamHEC.LocomotionCommotion.Map - package com.TeamHEC.LocomotionCommotion.Map
-
- com.TeamHEC.LocomotionCommotion.MapActors - package com.TeamHEC.LocomotionCommotion.MapActors
-
- com.TeamHEC.LocomotionCommotion.Mocking - package com.TeamHEC.LocomotionCommotion.Mocking
-
- com.TeamHEC.LocomotionCommotion.Obstacle - package com.TeamHEC.LocomotionCommotion.Obstacle
-
- com.TeamHEC.LocomotionCommotion.Player - package com.TeamHEC.LocomotionCommotion.Player
-
- com.TeamHEC.LocomotionCommotion.Resource - package com.TeamHEC.LocomotionCommotion.Resource
-
- com.TeamHEC.LocomotionCommotion.Scene - package com.TeamHEC.LocomotionCommotion.Scene
-
- com.TeamHEC.LocomotionCommotion.Train - package com.TeamHEC.LocomotionCommotion.Train
-
- com.TeamHEC.LocomotionCommotion.UI_Elements - package com.TeamHEC.LocomotionCommotion.UI_Elements
-
- compareTo(Node) - Method in class com.TeamHEC.LocomotionCommotion.Goal.Graph.Node
-
neccassary to compare in the compute paths class
- computePaths(Node) - Method in class com.TeamHEC.LocomotionCommotion.Goal.Graph.Dijkstra
-
Compute paths takes a source node and updates the Tentative distance of all other nodes
with the an integer value that represents the length between the source node and that
particular nodes.
- confirmRouteBtn - Static variable in class com.TeamHEC.LocomotionCommotion.MapActors.Game_Map_Manager
-
- confirmroutingModebtn - Variable in class com.TeamHEC.LocomotionCommotion.UI_Elements.Game_TextureManager
-
- Connection - Class in com.TeamHEC.LocomotionCommotion.Map
-
- Connection(MapObj, MapObj) - Constructor for class com.TeamHEC.LocomotionCommotion.Map.Connection
-
A connection between two adjacent MapObjs in the Map.
- connections - Variable in class com.TeamHEC.LocomotionCommotion.Map.MapObj
-
- ConnectionTest - Class in com.TeamHEC.LocomotionCommotion.Map
-
- ConnectionTest() - Constructor for class com.TeamHEC.LocomotionCommotion.Map.ConnectionTest
-
- contains(Node[], Node) - Method in class com.TeamHEC.LocomotionCommotion.Goal.DijkstraTest
-
- contains(Node[], Node) - Method in class com.TeamHEC.LocomotionCommotion.Goal.GoalGenerationAlgorithmTest
-
- CoreGame - Class in com.TeamHEC.LocomotionCommotion.Game
-
- CoreGame(String, String, Station, Station, int) - Constructor for class com.TeamHEC.LocomotionCommotion.Game.CoreGame
-
Initialises a Game object.
- CoreGameTest - Class in com.TeamHEC.LocomotionCommotion.Game
-
- CoreGameTest() - Constructor for class com.TeamHEC.LocomotionCommotion.Game.CoreGameTest
-
- cost - Variable in class com.TeamHEC.LocomotionCommotion.Resource.Fuel
-
- cost - Variable in class com.TeamHEC.LocomotionCommotion.UI_Elements.Game_Shop.ShopHomeScreen.Game_shop_card
-
- cost - Variable in class com.TeamHEC.LocomotionCommotion.UI_Elements.Game_Shop.ShopHomeScreen.Game_shop_coal
-
- cost - Variable in class com.TeamHEC.LocomotionCommotion.UI_Elements.Game_Shop.ShopHomeScreen.Game_shop_electric
-
- cost - Variable in class com.TeamHEC.LocomotionCommotion.UI_Elements.Game_Shop.ShopHomeScreen.Game_shop_nuclear
-
- cost - Variable in class com.TeamHEC.LocomotionCommotion.UI_Elements.Game_Shop.ShopHomeScreen.Game_shop_oil
-
- cost - Variable in class com.TeamHEC.LocomotionCommotion.UI_Elements.Game_Shop.ShopHomeScreen.Game_shop_train
-
- costLabel - Variable in class com.TeamHEC.LocomotionCommotion.UI_Elements.Game_Shop.ShopHomeScreen.Game_shop_card
-
- costLabel - Variable in class com.TeamHEC.LocomotionCommotion.UI_Elements.Game_Shop.ShopHomeScreen.Game_shop_coal
-
- costLabel - Variable in class com.TeamHEC.LocomotionCommotion.UI_Elements.Game_Shop.ShopHomeScreen.Game_shop_electric
-
- costLabel - Variable in class com.TeamHEC.LocomotionCommotion.UI_Elements.Game_Shop.ShopHomeScreen.Game_shop_nuclear
-
- costLabel - Variable in class com.TeamHEC.LocomotionCommotion.UI_Elements.Game_Shop.ShopHomeScreen.Game_shop_oil
-
- costLabel - Variable in class com.TeamHEC.LocomotionCommotion.UI_Elements.Game_Shop.ShopHomeScreen.Game_shop_train
-
- create(Stage) - Method in class com.TeamHEC.LocomotionCommotion.Card.Game_CardHand
-
- create(Stage) - Method in class com.TeamHEC.LocomotionCommotion.Card.Game_CardHand.Game_CardHandManager
-
- create() - Static method in class com.TeamHEC.LocomotionCommotion.Game.GameScreen
-
- create(Stage) - Method in class com.TeamHEC.LocomotionCommotion.Goal.GoalMenu
-
- create(Stage) - Method in class com.TeamHEC.LocomotionCommotion.Goal.PlayerGoals
-
- create() - Method in class com.TeamHEC.LocomotionCommotion.LocomotionCommotion
-
Create sets the screen to show the start scene
- create(Stage) - Method in class com.TeamHEC.LocomotionCommotion.MapActors.Game_Map_Manager
-
- create() - Method in class com.TeamHEC.LocomotionCommotion.Mocking.GdxTestRunner
-
- create() - Method in class com.TeamHEC.LocomotionCommotion.Mocking.MockGame
-
- create(Stage) - Method in class com.TeamHEC.LocomotionCommotion.Train.TrainDepotUI
-
- create(Stage) - Method in class com.TeamHEC.LocomotionCommotion.Train.TrainDepotUI.Game_TrainDepotManager
-
- create(Stage) - Method in class com.TeamHEC.LocomotionCommotion.UI_Elements.Game_PauseMenu
-
- create(Stage) - Method in class com.TeamHEC.LocomotionCommotion.UI_Elements.Game_PauseMenu.Game_Pause_Manager
-
- create(Stage) - Method in class com.TeamHEC.LocomotionCommotion.UI_Elements.Game_Shop
-
- create(Stage) - Method in class com.TeamHEC.LocomotionCommotion.UI_Elements.Game_Shop.Game_ShopManager
-
- create(Stage) - Method in class com.TeamHEC.LocomotionCommotion.UI_Elements.Game_StartingSequence
-
- create(Stage) - Method in class com.TeamHEC.LocomotionCommotion.UI_Elements.GameScreenUI
-
Create method instantiates all Labels, Sprites and SpriteButtons in the Main game screen and then adds them to the stage.
- create(Stage) - Method in class com.TeamHEC.LocomotionCommotion.UI_Elements.WarningMessage
-
- createAnyCard() - Method in class com.TeamHEC.LocomotionCommotion.Card.CardFactory
-
Creates a random card from either the magicCardList or resourceCardList.
- createBlip(Train) - Method in class com.TeamHEC.LocomotionCommotion.MapActors.Game_Map_Train
-
- createCoreGame(Station, Station) - Static method in class com.TeamHEC.LocomotionCommotion.Game.GameScreen
-
- createdGoals - Static variable in class com.TeamHEC.LocomotionCommotion.Goal.GoalMenu
-
- createLabels() - Static method in class com.TeamHEC.LocomotionCommotion.Goal.GoalMenu
-
- createMagicCard() - Method in class com.TeamHEC.LocomotionCommotion.Card.CardFactory
-
Creates a random card from the set of magic cards.
- CreateRandomGoal() - Method in class com.TeamHEC.LocomotionCommotion.Goal.GoalFactory
-
Creates a new random Goal.
- createResourceCard() - Method in class com.TeamHEC.LocomotionCommotion.Card.CardFactory
-
Creates a random card from the set of resource cards.
- currentHand - Variable in class com.TeamHEC.LocomotionCommotion.Card.Game_CardHand.Game_CardHandManager
-
- currentPlayerName - Static variable in class com.TeamHEC.LocomotionCommotion.UI_Elements.GameScreenUI
-
- CustomTexture - Class in com.TeamHEC.LocomotionCommotion.Scene
-
- CustomTexture(String) - Constructor for class com.TeamHEC.LocomotionCommotion.Scene.CustomTexture
-
- CustomTexture(FileHandle) - Constructor for class com.TeamHEC.LocomotionCommotion.Scene.CustomTexture
-
- CustomTexture(Pixmap) - Constructor for class com.TeamHEC.LocomotionCommotion.Scene.CustomTexture
-
- CustomTexture(TextureData) - Constructor for class com.TeamHEC.LocomotionCommotion.Scene.CustomTexture
-
- CustomTexture(FileHandle, boolean) - Constructor for class com.TeamHEC.LocomotionCommotion.Scene.CustomTexture
-
- CustomTexture(Pixmap, boolean) - Constructor for class com.TeamHEC.LocomotionCommotion.Scene.CustomTexture
-
- CustomTexture(FileHandle, Pixmap.Format, boolean) - Constructor for class com.TeamHEC.LocomotionCommotion.Scene.CustomTexture
-
- CustomTexture(Pixmap, Pixmap.Format, boolean) - Constructor for class com.TeamHEC.LocomotionCommotion.Scene.CustomTexture
-
- CustomTexture(int, int, Pixmap.Format) - Constructor for class com.TeamHEC.LocomotionCommotion.Scene.CustomTexture
-