- Game - Class in edu.illinois.cs.cs125.spring2020.mp.logic
-
Represents a multiplayer game, providing or defining methods common to all game modes.
- Game(String, GoogleMap, WebSocket, JsonObject, Context) - Constructor for class edu.illinois.cs.cs125.spring2020.mp.logic.Game
-
Sets up this Game.
- GameActivity - Class in edu.illinois.cs.cs125.spring2020.mp
-
Represents the game activity, where the user plays the game and sees its state.
- GameActivity() - Constructor for class edu.illinois.cs.cs125.spring2020.mp.GameActivity
-
- GameSetup - Class in edu.illinois.cs.cs125.spring2020.mp.logic
-
Provides static methods to convert game information to JSON payloads that can be POSTed to the
server's /games/create endpoint to create a multiplayer game.
- GameSetup() - Constructor for class edu.illinois.cs.cs125.spring2020.mp.logic.GameSetup
-
- GameStateID - Class in edu.illinois.cs.cs125.spring2020.mp.logic
-
Holds the constant values for the possible game states.
- GameStateID() - Constructor for class edu.illinois.cs.cs125.spring2020.mp.logic.GameStateID
-
- GameSummary - Class in edu.illinois.cs.cs125.spring2020.mp.logic
-
Extracts summary information about a game from JSON provided by the server.
- GameSummary(JsonObject) - Constructor for class edu.illinois.cs.cs125.spring2020.mp.logic.GameSummary
-
Creates a game summary from JSON from the server.
- getCellBounds(int, int) - Method in class edu.illinois.cs.cs125.spring2020.mp.logic.AreaDivider
-
Gets the boundaries of the specified cell as a Google Maps LatLngBounds object.
- getContext() - Method in class edu.illinois.cs.cs125.spring2020.mp.logic.Game
-
Gets the UI context.
- getEmail() - Method in class edu.illinois.cs.cs125.spring2020.mp.logic.Game
-
Gets the user's email address.
- getEmail() - Method in class edu.illinois.cs.cs125.spring2020.mp.logic.Invitee
-
Gets the email address.
- getId() - Method in class edu.illinois.cs.cs125.spring2020.mp.logic.GameSummary
-
Gets the unique, server-assigned ID of this game.
- getMap() - Method in class edu.illinois.cs.cs125.spring2020.mp.logic.Game
-
Gets the Google Maps view used by this Game.
- getMode() - Method in class edu.illinois.cs.cs125.spring2020.mp.logic.GameSummary
-
Gets the mode of this game, either area or target.
- getMyTeam() - Method in class edu.illinois.cs.cs125.spring2020.mp.logic.Game
-
Gets the user's team ID in this game.
- getOwner() - Method in class edu.illinois.cs.cs125.spring2020.mp.logic.GameSummary
-
Gets the owner/creator of this game.
- getPlayerRole(String, Context) - Method in class edu.illinois.cs.cs125.spring2020.mp.logic.GameSummary
-
Gets the name of the user's team/role.
- getPosition() - Method in class edu.illinois.cs.cs125.spring2020.mp.logic.Target
-
Gets the position of the target.
- getTeam() - Method in class edu.illinois.cs.cs125.spring2020.mp.logic.Target
-
Gets the ID of the team currently owning this target.
- getTeamId() - Method in class edu.illinois.cs.cs125.spring2020.mp.logic.Invitee
-
Gets the team/role.
- getTeamScore(int) - Method in class edu.illinois.cs.cs125.spring2020.mp.logic.AreaGame
-
Gets a team's score in this area mode game.
- getTeamScore(int) - Method in class edu.illinois.cs.cs125.spring2020.mp.logic.Game
-
Gets a team's score.
- getTeamScore(int) - Method in class edu.illinois.cs.cs125.spring2020.mp.logic.TargetGame
-
Gets a team's score in this target mode game.
- getWinningTeam() - Method in class edu.illinois.cs.cs125.spring2020.mp.logic.Game
-
Determines which team has the most points.
- getXCells() - Method in class edu.illinois.cs.cs125.spring2020.mp.logic.AreaDivider
-
Gets the number of cells between the west and east boundaries.
- getXIndex(LatLng) - Method in class edu.illinois.cs.cs125.spring2020.mp.logic.AreaDivider
-
Gets the X coordinate of the cell containing the specified location.
- getYCells() - Method in class edu.illinois.cs.cs125.spring2020.mp.logic.AreaDivider
-
Gets the number of cells between the south and north boundaries.
- getYIndex(LatLng) - Method in class edu.illinois.cs.cs125.spring2020.mp.logic.AreaDivider
-
Gets the Y coordinate of the cell containing the specified location.