- 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
-
- 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.
- getId() - Method in class edu.illinois.cs.cs125.spring2020.mp.logic.GameSummary
-
Gets the unique, server-assigned ID of this game.
- getLatitudes(Context) - Static method in class edu.illinois.cs.cs125.spring2020.mp.logic.DefaultTargets
-
Gets an array of the targets' latitudes.
- getLongitudes(Context) - Static method in class edu.illinois.cs.cs125.spring2020.mp.logic.DefaultTargets
-
Gets an array of the targets' longitudes.
- 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.
- getPositions(Context) - Static method in class edu.illinois.cs.cs125.spring2020.mp.logic.DefaultTargets
-
Gets the positions of the default targets as LatLng instances.
- getTeamScore(int) - Method in class edu.illinois.cs.cs125.spring2020.mp.logic.Game
-
Gets a team's score.
- getVisitCandidate(double[], double[], int[], double, double, int) - Static method in class edu.illinois.cs.cs125.spring2020.mp.logic.TargetVisitChecker
-
Gets an index of an unvisited target within the specified range of the current location.
- 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.