- GameStartInfoResponse - Class in inf112.fiasko.roborally.networking.containers
-
This class contains information about the game board to be used and the game's players
- GameStartInfoResponse() - Constructor for class inf112.fiasko.roborally.networking.containers.GameStartInfoResponse
-
Empty constructor required by KryoNet.
- GameStartInfoResponse(String, List<Player>, String) - Constructor for class inf112.fiasko.roborally.networking.containers.GameStartInfoResponse
-
Instantiates a new GameStartInfoResponse object
- GameState - Enum in inf112.fiasko.roborally.objects.properties
-
This enum represents the different states the game can be in
- getAction() - Method in class inf112.fiasko.roborally.objects.ProgrammingCard
-
Gets the action of the programming card
- getAliveRobots() - Method in class inf112.fiasko.roborally.objects.Board
-
Gets all alive robots from the board
- getAllElementsFromGrid(Grid<K>) - Static method in class inf112.fiasko.roborally.utility.GridUtil
-
Gets all elements in a grid
- getAllRobots() - Method in class inf112.fiasko.roborally.objects.Board
-
Gets all robots from the board
- getAllRobots() - Method in interface inf112.fiasko.roborally.objects.DrawableGame
-
Gets a list of all robots still participating
- getAllRobots() - Method in class inf112.fiasko.roborally.objects.RoboRallyGame
-
- getAmountOfLives() - Method in class inf112.fiasko.roborally.objects.Robot
-
Gets the amount of life a robot has left.
- getBackupPosition() - Method in class inf112.fiasko.roborally.objects.Robot
-
Gets the robot's backup position
- getBoardActiveScreen(RoboRallyWrapper) - Method in class inf112.fiasko.roborally.ui.ScreenManager
-
Gets an instance of the board active screen
- getBoardHeight() - Method in class inf112.fiasko.roborally.objects.Board
-
Gets the height of the board
- getBoardListHumanReadable() - Static method in class inf112.fiasko.roborally.utility.BoardLoaderUtil
-
Gets a list of all available boards with human-readable names
- getBoardName() - Method in class inf112.fiasko.roborally.networking.containers.GameStartInfoResponse
-
Gets the board name
- getBoardWidth() - Method in class inf112.fiasko.roborally.objects.Board
-
Gets the width of the board
- getButton() - Method in class inf112.fiasko.roborally.ui.SimpleButton
-
Gets the button generated
- getCardChoiceScreen(RoboRallyWrapper) - Method in class inf112.fiasko.roborally.ui.ScreenManager
-
Gets an instance of the card choice screen
- getCards() - Method in class inf112.fiasko.roborally.objects.AbstractDeck
-
Gets a list of all the cards in the deck
- getCards() - Method in interface inf112.fiasko.roborally.objects.Deck
-
Gets a list of all cards in this deck
The list should have the correct order according to the actual order within the deck.
- getDamageTaken() - Method in class inf112.fiasko.roborally.objects.Robot
-
Gets the damage the robot has taken
- getDamageTokenCriticalTexture() - Static method in class inf112.fiasko.roborally.utility.TextureConverterUtil
-
Returns the texture to use to display damage tokens
- getDamageTokenTexture() - Static method in class inf112.fiasko.roborally.utility.TextureConverterUtil
-
Returns the texture to use to display damage tokens
- getDirection() - Method in interface inf112.fiasko.roborally.objects.BoardElement
-
Gets the direction of the element
- getDirection() - Method in class inf112.fiasko.roborally.objects.Particle
-
- getDirection() - Method in class inf112.fiasko.roborally.objects.Tile
-
- getDirection() - Method in class inf112.fiasko.roborally.objects.Wall
-
- getDirectionFromID(int) - Static method in enum inf112.fiasko.roborally.objects.properties.Direction
-
Gets a direction from its numerical id
- getDirectionID() - Method in enum inf112.fiasko.roborally.objects.properties.Direction
-
Gets the numerical identifier used for alternate identification of a direction
- getDisposableElements() - Static method in class inf112.fiasko.roborally.utility.TextureConverterUtil
-
Gets a list of all disposable elements which should be disposed when the software closes
- getDrawableObjectsFromGame(DrawableGame, int, int) - Static method in class inf112.fiasko.roborally.utility.IOUtil
-
Gets a list of all elements which should be drawn from the game provided
- getElement() - Method in class inf112.fiasko.roborally.objects.BoardElementContainer
-
Gets the element
- getElement(int, int) - Method in interface inf112.fiasko.roborally.objects.Grid
-
Gets the element in a given x and y coordinate
- getElement(int, int) - Method in class inf112.fiasko.roborally.objects.ListGrid
-
- getErrorMessage() - Method in class inf112.fiasko.roborally.networking.containers.ErrorResponse
-
Gets the error message attached to the error response
- getExtraCards() - Method in class inf112.fiasko.roborally.networking.containers.HandResponse
-
Gets the extra cards contained within the response
- getExtraCards() - Method in interface inf112.fiasko.roborally.objects.InteractableGame
-
Gets extra cards necessary when the player has no program to lock
- getExtraCards() - Method in class inf112.fiasko.roborally.objects.RoboRallyGame
-
- getFacingDirection() - Method in class inf112.fiasko.roborally.objects.Robot
-
Gets the direction the robot is currently facing
- getGame() - Method in interface inf112.fiasko.roborally.ui.RoboRallyUI
-
Gets the robo rally game being rendered by the UI
- getGame() - Method in class inf112.fiasko.roborally.ui.RoboRallyWrapper
-
- getGameState() - Method in interface inf112.fiasko.roborally.objects.InteractableGame
-
Gets the current state of the game
- getGameState() - Method in class inf112.fiasko.roborally.objects.RoboRallyGame
-
- getHeight() - Method in interface inf112.fiasko.roborally.objects.DrawableGame
-
Gets the number of tiles in the y direction
- getHeight() - Method in interface inf112.fiasko.roborally.objects.Grid
-
Gets height of the grid
- getHeight() - Method in class inf112.fiasko.roborally.objects.ListGrid
-
- getHeight() - Method in class inf112.fiasko.roborally.objects.RoboRallyGame
-
- getHeight() - Method in class inf112.fiasko.roborally.ui.DrawableObject
-
Gets the height of the object
- getIPAddressScreen(RoboRallyWrapper) - Method in class inf112.fiasko.roborally.ui.ScreenManager
-
Gets an instance of the ip address screen
- getLanServers(int) - Method in class inf112.fiasko.roborally.networking.RoboRallyClient
-
Gets a list of addresses of local Robo Rally servers
- getLastFlagVisited(RobotID) - Method in class inf112.fiasko.roborally.objects.Board
-
Gets the int corresponding to the flag a robot has last visited
- getLastFlagVisited() - Method in class inf112.fiasko.roborally.objects.Robot
-
Gets the last flag the robot visited
- getLastRequestState() - Method in class inf112.fiasko.roborally.networking.RoboRallyClient
-
Gets the state of the lastly sent request
- getLeftRotatedDirection(Direction) - Static method in enum inf112.fiasko.roborally.objects.properties.Direction
-
Gets the direction if something rotated to the left
A rotation is assumed to be a ninety degrees rotation, so NORTH would become WEST and so on.
- getLifeTexture() - Static method in class inf112.fiasko.roborally.utility.TextureConverterUtil
-
Returns the texture to use to display lives
- getLoadingScreen(RoboRallyWrapper) - Method in class inf112.fiasko.roborally.ui.ScreenManager
-
Gets an instance of the loading screen
- getLobbyScreen(RoboRallyWrapper) - Method in class inf112.fiasko.roborally.ui.ScreenManager
-
Gets an instance of the lobby screen
- getLockedProgrammingCardDeck() - Method in class inf112.fiasko.roborally.objects.Player
-
Gets the player deck with locked cards
- getMatchingElements(K, Grid<T>) - Static method in class inf112.fiasko.roborally.utility.GridUtil
-
Finds all tiles/walls with a certain type
- getName() - Method in class inf112.fiasko.roborally.objects.Player
-
Gets the name of the player
- getNewCardChoiceScreen(RoboRallyWrapper) - Method in class inf112.fiasko.roborally.ui.ScreenManager
-
Gets a new instance of the card choice screen
- getNewHand() - Method in class inf112.fiasko.roborally.networking.containers.HandResponse
-
Gets the hand contained within the response
- getNewLaserBeamParticle(Particle, Particle) - Static method in class inf112.fiasko.roborally.utility.LaserHelper
-
Gets the new particle to use given the laser firing and the existing beam particle
- getNewPosition(Position, Direction) - Method in class inf112.fiasko.roborally.objects.Board
-
Gets the position 1 unit in a specific direction from another position
- getParticleFromLaserType(WallType) - Static method in class inf112.fiasko.roborally.utility.LaserHelper
-
Gets the correct particle type from a laser type
- getParticles() - Method in class inf112.fiasko.roborally.objects.Board
-
Gets all the particles from the board
- getParticlesToDraw() - Method in interface inf112.fiasko.roborally.objects.DrawableGame
-
Gets a list of all the particles to be drawn
Should return a list readable from top-left to top-right and so on.
- getParticlesToDraw() - Method in class inf112.fiasko.roborally.objects.RoboRallyGame
-
- getParticleTypeFromID(int) - Static method in enum inf112.fiasko.roborally.objects.properties.ParticleType
-
Gets a particle type value from its numerical representation
- getParticleTypeID() - Method in enum inf112.fiasko.roborally.objects.properties.ParticleType
-
Gets the numerical id used for alternate identification of a tile type
- getPlayerHand() - Method in interface inf112.fiasko.roborally.objects.InteractableGame
-
Gets the hand of this player
- getPlayerHand() - Method in class inf112.fiasko.roborally.objects.RoboRallyGame
-
- getPlayerList() - Method in class inf112.fiasko.roborally.networking.containers.GameStartInfoResponse
-
Gets the list of players
- getPlayerName() - Method in class inf112.fiasko.roborally.networking.containers.GameStartInfoResponse
-
Gets the player name of the current player
- getPlayerNames() - Method in class inf112.fiasko.roborally.networking.RoboRallyServer
-
Gets a map between connections and their player name
- getPlayers() - Method in interface inf112.fiasko.roborally.objects.DrawableGame
-
Gets a list of active players to receive information about player names
- getPlayers() - Method in class inf112.fiasko.roborally.objects.RoboRallyGame
-
- getPosition() - Method in class inf112.fiasko.roborally.objects.BoardElementContainer
-
Gets the position of the element
- getPosition() - Method in class inf112.fiasko.roborally.objects.Robot
-
Gets the robot's current position on the board
- getPositionsOfTilesOnBoard(TileType...) - Method in class inf112.fiasko.roborally.objects.Board
-
Gets a list of BoardElementContainers, containing all tiles and positions of given tile types
- getPositionsOfWallsOnBoard(WallType...) - Method in class inf112.fiasko.roborally.objects.Board
-
Gets a list of BoardElementContainers, containing all tiles and positions of given wall types
- getPowerDown() - Method in class inf112.fiasko.roborally.networking.containers.PowerDownContainerResponse
-
Gets the power down map stored in the container
- getPowerDown() - Method in class inf112.fiasko.roborally.networking.containers.ProgramAndPowerDownRequest
-
Gets the power down status contained within this request
- getPowerDown(RobotID) - Method in class inf112.fiasko.roborally.objects.Board
-
Gets the power down status of the robot
- getPowerDownMap() - Method in class inf112.fiasko.roborally.networking.containers.ProgramsContainerResponse
-
Gets the map of power down
- getPowerDownNextRound() - Method in class inf112.fiasko.roborally.objects.Player
-
Gets the players power down status
- getPowerDownScreen(RoboRallyWrapper) - Method in class inf112.fiasko.roborally.ui.ScreenManager
-
Gets an instance of the power down screen
- getPriority() - Method in class inf112.fiasko.roborally.objects.ProgrammingCard
-
Gets the priority of the programming card
- getProgram() - Method in class inf112.fiasko.roborally.networking.containers.ProgramAndPowerDownRequest
-
Gets the program contained within this request
- getProgram() - Method in interface inf112.fiasko.roborally.objects.InteractableGame
-
Gets the program of this player
- getProgram() - Method in class inf112.fiasko.roborally.objects.Player
-
Gets the players program
- getProgram() - Method in class inf112.fiasko.roborally.objects.RoboRallyGame
-
- getProgrammingCardDeck() - Method in class inf112.fiasko.roborally.objects.Player
-
Gets the player hand/deck
- getProgramSize() - Method in interface inf112.fiasko.roborally.objects.InteractableGame
-
Gets the amount of cards the player can choose for their program
- getProgramSize() - Method in class inf112.fiasko.roborally.objects.RoboRallyGame
-
- getProgramsMap() - Method in class inf112.fiasko.roborally.networking.containers.ProgramsContainerResponse
-
Gets the map of programs
- getRealBoardName(String) - Static method in class inf112.fiasko.roborally.utility.BoardLoaderUtil
-
Gets the actual file name of a board given its human-readable name
- getRealDeadRobots() - Method in class inf112.fiasko.roborally.objects.Board
-
Gets a list of robots no longer part of the game
- getResourceAsInputStream(String) - Static method in class inf112.fiasko.roborally.utility.ResourceUtil
-
Gets an input stream for a given resource
- getReverseDirection(Direction) - Static method in enum inf112.fiasko.roborally.objects.properties.Direction
-
Gets the reverse of a direction
- getRightRotatedDirection(Direction) - Static method in enum inf112.fiasko.roborally.objects.properties.Direction
-
Gets the direction if something rotated to the right
A rotation is assumed to be a ninety degrees rotation, so NORTH would become EAST and so on.
- getRobotDamage(RobotID) - Method in class inf112.fiasko.roborally.objects.Board
-
Get the damage of a specific robot
- getRobotID() - Method in class inf112.fiasko.roborally.networking.RoboRallyServer
-
Gets a map between connections and their robot id
- getRobotID() - Method in class inf112.fiasko.roborally.objects.Player
-
Gets the RobotID of a player
- getRobotId() - Method in class inf112.fiasko.roborally.objects.Robot
-
Gets the robot ID
- getRobotIDFromID(int) - Static method in enum inf112.fiasko.roborally.objects.properties.RobotID
-
Gets a robot ID value from its numerical representation
- getRobotIDID() - Method in enum inf112.fiasko.roborally.objects.properties.RobotID
-
Gets the numerical id used for identification of a robot id
- getRobotOnPosition(Position) - Method in class inf112.fiasko.roborally.objects.Board
-
Returns a robot id for a robot on a specific position if such a robot exists
- getRobotPowerDown() - Method in interface inf112.fiasko.roborally.objects.InteractableGame
-
Gets the power down status of the client playing this instance of the game
- getRobotPowerDown() - Method in class inf112.fiasko.roborally.objects.RoboRallyGame
-
- getRobotsToDraw() - Method in interface inf112.fiasko.roborally.objects.DrawableGame
-
Gets a list of all robots to draw
- getRobotsToDraw() - Method in class inf112.fiasko.roborally.objects.RoboRallyGame
-
- getRotation() - Method in class inf112.fiasko.roborally.ui.DrawableObject
-
Gets the number of degrees to rotate the texture counterclockwise when rendering
- getServer() - Method in interface inf112.fiasko.roborally.ui.RoboRallyUI
-
Gets the servers used for receiving objects from clients
- getServer() - Method in class inf112.fiasko.roborally.ui.RoboRallyWrapper
-
- getStartMenuScreen(RoboRallyWrapper) - Method in class inf112.fiasko.roborally.ui.ScreenManager
-
Gets an instance of the start menu screen
- getTexture() - Method in class inf112.fiasko.roborally.ui.DrawableObject
-
Gets the texture to use for drawing the object
- getTileOnPosition(Position) - Method in class inf112.fiasko.roborally.objects.Board
-
Gets the tile on a specific position
- getTiles() - Method in class inf112.fiasko.roborally.objects.Board
-
Gets all the tiles from the board
- getTilesToDraw() - Method in interface inf112.fiasko.roborally.objects.DrawableGame
-
Gets a list of all the tiles to be drawn
Should return a list readable from top-left to top-right and so on.
- getTilesToDraw() - Method in class inf112.fiasko.roborally.objects.RoboRallyGame
-
- getTileTypeFromID(int) - Static method in enum inf112.fiasko.roborally.objects.properties.TileType
-
Gets a tile type value from its numerical representation
- getTileTypeID() - Method in enum inf112.fiasko.roborally.objects.properties.TileType
-
Gets the numerical id used for alternate identification of a tile type
- getType() - Method in interface inf112.fiasko.roborally.objects.BoardElement
-
Gets the type of the element
- getType() - Method in class inf112.fiasko.roborally.objects.Particle
-
- getType() - Method in class inf112.fiasko.roborally.objects.Tile
-
- getType() - Method in class inf112.fiasko.roborally.objects.Wall
-
- getUsername() - Method in class inf112.fiasko.roborally.networking.containers.UsernameRequest
-
Gets the username the user wants to use
- getUsernameScreen(RoboRallyWrapper) - Method in class inf112.fiasko.roborally.ui.ScreenManager
-
Gets an instance of the username screen
- getWalls() - Method in class inf112.fiasko.roborally.objects.Board
-
Gets all the walls from the board
- getWallsToDraw() - Method in interface inf112.fiasko.roborally.objects.DrawableGame
-
Gets a list of all the walls to be drawn
Should return a list readable from top-left to top-right and so on.
- getWallsToDraw() - Method in class inf112.fiasko.roborally.objects.RoboRallyGame
-
- getWallTypeFromID(int) - Static method in enum inf112.fiasko.roborally.objects.properties.WallType
-
Gets a wall type value from its numerical representation
- getWallTypeID() - Method in enum inf112.fiasko.roborally.objects.properties.WallType
-
Gets the numerical id used for alternate identification of a wall type
- getWidth() - Method in interface inf112.fiasko.roborally.objects.DrawableGame
-
Gets the number of tiles in the x direction
- getWidth() - Method in interface inf112.fiasko.roborally.objects.Grid
-
Gets the width of the grid
- getWidth() - Method in class inf112.fiasko.roborally.objects.ListGrid
-
- getWidth() - Method in class inf112.fiasko.roborally.objects.RoboRallyGame
-
- getWidth() - Method in class inf112.fiasko.roborally.ui.DrawableObject
-
Gets the width of the object
- getWinnerScreen(RoboRallyWrapper) - Method in class inf112.fiasko.roborally.ui.ScreenManager
-
Gets an instance of the winner screen
- getWinningPlayerName() - Method in interface inf112.fiasko.roborally.objects.InteractableGame
-
Gets the name of the player who won
- getWinningPlayerName() - Method in class inf112.fiasko.roborally.objects.RoboRallyGame
-
- getXCoordinate() - Method in class inf112.fiasko.roborally.objects.properties.Position
-
Gets the x coordinate of the position
- getXPosition() - Method in class inf112.fiasko.roborally.ui.DrawableObject
-
Gets the x position the object should be drawn on
The x position should be in terms of the actual pixel position on the rendered game, not the position according
to the game tile.
- getYCoordinate() - Method in class inf112.fiasko.roborally.objects.properties.Position
-
Gets the y coordinate of the position
- getYPosition() - Method in class inf112.fiasko.roborally.ui.DrawableObject
-
Gets the y position the object should be drawn on
The y position should be in terms of the actual pixel position on the rendered game, not the position according
to the game tile.
- Grid<K> - Interface in inf112.fiasko.roborally.objects
-
This Interface describes a grid
- GridUtil - Class in inf112.fiasko.roborally.utility
-
A helper class containing helper methods fro a grid