- 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 - Static variable in class com.TeamHEC.LocomotionCommotion.Scene.Scene
-
- cancelRoute() - Method in class com.TeamHEC.LocomotionCommotion.Train.Route
-
A repeated undo
- cancelRouteBtn - Variable in class com.TeamHEC.LocomotionCommotion.UI_Elements.Game_TextureManager
-
- cancelRouteBtn - Static variable in class com.TeamHEC.LocomotionCommotion.UI_Elements.GameScreenUI
-
- 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.
- Card(Player, JSONObject) - Constructor for class com.TeamHEC.LocomotionCommotion.Card.Card
-
- 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.
- 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
-
- 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
- changeNameMapping(MapObj, String) - Method in class com.TeamHEC.LocomotionCommotion.Map.MapInstance
-
- 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
-
- 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
-
- CoalTrain(JSONObject, Route, Player) - Constructor for class com.TeamHEC.LocomotionCommotion.Train.CoalTrain
-
Reinstantiates train from JSON Object
- 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.Goal.Graph - package com.TeamHEC.LocomotionCommotion.Goal.Graph
-
- com.TeamHEC.LocomotionCommotion.MapActors - package com.TeamHEC.LocomotionCommotion.MapActors
-
- com.TeamHEC.LocomotionCommotion.Resource - package com.TeamHEC.LocomotionCommotion.Resource
-
- com.TeamHEC.LocomotionCommotion.Scene - package com.TeamHEC.LocomotionCommotion.Scene
-
- com.TeamHEC.LocomotionCommotion.UI_Elements - package com.TeamHEC.LocomotionCommotion.UI_Elements
-
- com.TeamJKG.LocomotionCommotion.Game - package com.TeamJKG.LocomotionCommotion.Game
-
- com.TeamJKG.LocomotionCommotion.Replay - package com.TeamJKG.LocomotionCommotion.Replay
-
- 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.UI_Elements.GameScreenUI
-
- confirmroutingModebtn - Variable in class com.TeamHEC.LocomotionCommotion.UI_Elements.Game_TextureManager
-
- Connection - Class in com.TeamHEC.LocomotionCommotion.Map
-
- Connection(MapObj, MapObj, Line) - Constructor for class com.TeamHEC.LocomotionCommotion.Map.Connection
-
A connection between two adjacent MapObjs in the Map.
- Connection(MapObj, MapObj) - Constructor for class com.TeamHEC.LocomotionCommotion.Map.Connection
-
- connectionList() - Method in class com.TeamHEC.LocomotionCommotion.Map.MapInstance
-
- connectionPlacing - Static variable in class com.TeamHEC.LocomotionCommotion.MapActors.Game_Map_Manager
-
- connections - Variable in class com.TeamHEC.LocomotionCommotion.Map.MapObj
-
- conObj1 - Static variable in class com.TeamHEC.LocomotionCommotion.MapActors.Game_Map_Manager
-
- convert2Viewport(int, int) - Method in class com.TeamHEC.LocomotionCommotion.Game.MapInputProcessor
-
- convert2World(int, int) - Method in class com.TeamHEC.LocomotionCommotion.Game.MapInputProcessor
-
- CoreGame - Class in com.TeamHEC.LocomotionCommotion.Game
-
- CoreGame(String, String, int) - Constructor for class com.TeamHEC.LocomotionCommotion.Game.CoreGame
-
Initialises a Game object.
- 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) - Static method in class com.TeamHEC.LocomotionCommotion.MapActors.Game_Map_Manager
-
- 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.
- CURRENT_MAP - Static variable in class com.TeamHEC.LocomotionCommotion.GameData
-
- currentHand - Variable in class com.TeamHEC.LocomotionCommotion.Card.Game_CardHand.Game_CardHandManager
-
- currentPlayerJSON() - Method in class com.TeamJKG.LocomotionCommotion.Replay.ReplayGame
-
- 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
-