- RandomEvent - Class in com.mygdx.game
-
- RandomEvent(GameScreen) - Constructor for class com.mygdx.game.RandomEvent
-
- randomEvents - Variable in class com.mygdx.game.GameEngine
-
- randomiser - Variable in class com.mygdx.game.RandomEvent
-
- rectangle(ShapeRenderer.ShapeType, Color, int, int, int, int, int) - Method in class com.mygdx.game.Drawer
-
Draws a rectangle on the next frame to be rendered
Works by kickstarting a rendering pipeline and drawing a rectangle in that pipeline before disposing of it again
- refreshAuction() - Method in class com.mygdx.game.Market
-
Enables and disables various buttons in the auction based on the players inventory and the value
of the current resources and price of the current trade
- refreshButtonAvailability() - Method in class com.mygdx.game.Market
-
Enables/disables the market's purchase/sale buttons and updates their colours to reflect the player's current
amount of money, the game's current phase and the player's inventory
GRAY: Cannot buy/sell resource on the current phase
GREEN: Can buy/sell resource
RED: Cannot buy/sell resource due to a lack of money or stock
- refreshLabels() - Method in class com.mygdx.game.PlayerSelectScreen
-
update labels and buttons on screen
disable buttons which should not be pressed
change numbers displayed when incremented/decremented
- refreshPlayers() - Method in class com.mygdx.game.Market
-
updates the other player list so all players except the current player are in it
- regionHeight - Variable in class com.mygdx.game.Overlay
-
Height of the overlay region
- regionWidth - Variable in class com.mygdx.game.Overlay
-
Width of the overlay region
- removeAIPlayerButton - Variable in class com.mygdx.game.PlayerSelectScreen
-
decrease number of AI players
- removeBorder() - Method in class com.mygdx.game.TTFont
-
Removes the borders around the internal BitmapFont's characters
Internal FreeTypeFontGenerator re-generates the encapsulate BitmapFont following the border removal
- removeFromTile() - Method in class com.mygdx.game.Chancellor
-
Removes the chancellor from a tile
- removePlayerButton - Variable in class com.mygdx.game.PlayerSelectScreen
-
decrease number of human players
- removeShadow() - Method in class com.mygdx.game.TTFont
-
Removes the shadows beneath the internal BitmapFont's characters
Internal FreeTypeFontGenerator re-generates the encapsulate BitmapFont following the shadow removal
- render(float) - Method in class com.mygdx.game.GameScreen
-
Renders all visual elements (set up in the [show()] subroutine and all of its subsiduaries) to the window
This is called to prepare each and every frame that the game deploys
- render(float) - Method in class com.mygdx.game.HowToPlay
-
Renders all visual elements (set up in the [show()] subroutine and all of its subsiduaries) to the window
This is called to prepare each and every frame that the screen deploys
- render(float) - Method in class com.mygdx.game.LeaderboardFrontend
-
Renders all visual elements (set up in the [show()] subroutine and all of its subsiduaries) to the window
This is called to prepare each and every frame that the screen deploys
- render(float) - Method in class com.mygdx.game.MainMenu
-
Renders all visual elements (set up in the [show()] subroutine and all of its subsiduaries) to the window
This is called to prepare each and every frame that the screen deploys
- render(float) - Method in class com.mygdx.game.MiniGameScreen
-
- render(float) - Method in class com.mygdx.game.PlayerSelectScreen
-
- render(float) - Method in class com.mygdx.game.SplashScreen
-
Renders all visual elements (set up in the [show()] subroutine and all of its subsiduaries) to the window
This is called to prepare each and every frame that the screen deploys
- renderer - Static variable in class com.mygdx.game.Drawer
-
- reset() - Method in class com.mygdx.game.Chancellor
-
Method to reset the game and make the chancellor hidden on all tiles
- resize(int, int) - Method in class com.mygdx.game.GameScreen
-
- resize(int, int) - Method in class com.mygdx.game.HowToPlay
-
- resize(int, int) - Method in class com.mygdx.game.LeaderboardFrontend
-
- resize(int, int) - Method in class com.mygdx.game.MainMenu
-
- resize(int, int) - Method in class com.mygdx.game.MiniGameScreen
-
- resize(int, int) - Method in class com.mygdx.game.PlayerSelectScreen
-
- resize(int, int) - Method in class com.mygdx.game.SplashScreen
-
- resume() - Method in class com.mygdx.game.GameScreen
-
- resume() - Method in class com.mygdx.game.HowToPlay
-
- resume() - Method in class com.mygdx.game.LeaderboardFrontend
-
- resume() - Method in class com.mygdx.game.MainMenu
-
- resume() - Method in class com.mygdx.game.MiniGameScreen
-
- resume() - Method in class com.mygdx.game.PlayerSelectScreen
-
- resume() - Method in class com.mygdx.game.SplashScreen
-
- resumeGame() - Method in class com.mygdx.game.GameEngine
-
Resumes the game and re-opens the primary in-game inteface
Specifically increments the in-game timer by 1 second, restarts it and marks the engine's internal play-state
to [State.PAUSE]
Note that the timer is incremented by 1 second to circumvent a bug that causes it to lose 1 second whenever
it's restarted
- ReturnBestPlayer(ArrayList<String[]>) - Method in class com.mygdx.game.LeaderboardBackend
-
This function will return the best three players that have played the game so that they are able to be displayed
- rnd - Static variable in class com.mygdx.game.AiPlayer
-
- rnd - Variable in class com.mygdx.game.MiniGameScreen
-
- roboCustColours - Static variable in class com.mygdx.game.Drawer
-
- roboCustOffsetX - Static variable in class com.mygdx.game.Drawer
-
- roboCustOffsetY - Static variable in class com.mygdx.game.Drawer
-
- Roboticon - Class in com.mygdx.game
-
- Roboticon(int, Player, Tile) - Constructor for class com.mygdx.game.Roboticon
-
Constructor of the class
- RoboticonBuyPrice - Variable in class com.mygdx.game.Market
-
Variable holding roboticon buying price.
- roboticonCounter - Variable in class com.mygdx.game.GameScreen
-
Label counter providing a visual representation of the current player's roboticon stocks
- RoboticonID - Variable in class com.mygdx.game.Roboticon
-
Unique numerical identifier of the roboticon.
- roboticonIDCounter - Variable in class com.mygdx.game.GameEngine
-
An integer signifying the ID of the next roboticon to be created
- roboticonSprite - Static variable in class com.mygdx.game.Drawer
-
- RoboticonStock - Variable in class com.mygdx.game.Market
-
Variable holding current amount of Roboticons as an int, initialises at 12 as stated in the brief.
- roboticonStockLabel - Variable in class com.mygdx.game.Market
-
Visualises the amount of Roboticon stocks currently held by the market
- roboticonStored - Variable in class com.mygdx.game.Tile
-
The roboticon that has been placed on the tile.
- roboticonTileNo - Variable in class com.mygdx.game.Malfunction
-
- roboticonToMalfunction - Variable in class com.mygdx.game.Malfunction
-
- runColour - Variable in class com.mygdx.game.GameTimer
-
Holds the colour that the timer's label assumes while it's running
- runFunction() - Method in class com.mygdx.game.Tile
-
Runs the tile's associated function
- runnable - Variable in class com.mygdx.game.Tile
-
Object holding executable method that can be assigned to the tile
- runTerminalMethod() - Method in class com.mygdx.game.GameTimer
-
Runs the timer's terminal method upon being called
This can be called at any time