- R_OFFSET - Static variable in class client.discard.DiscardView.Resource
-
- R_OFFSET - Static variable in class client.resources.ResourceBarView.ResourceElement
-
- R_SCALE - Static variable in class client.discard.DiscardView.Resource
-
- R_SCALE - Static variable in class client.resources.ResourceBarView.ResourceElement
-
- radius - Variable in class shared.networking.transport.NetMap
-
- RandomLandSetup(MapModel) - Static method in class shared.model.map.model.MapGenerator
-
- randomNumbers - Variable in class server.commands.games.GamesCommandFactory.CreateBuilder
-
- randomNumbers - Variable in class server.model.RealServerGameManager
-
- randomNumbers - Variable in class server.model.ServerGameManager
-
- randomNumbers - Variable in class shared.networking.parameter.PCreateGame
-
- randomPorts - Variable in class server.commands.games.GamesCommandFactory.CreateBuilder
-
- randomPorts - Variable in class server.model.RealServerGameManager
-
- randomPorts - Variable in class server.model.ServerGameManager
-
- randomPorts - Variable in class shared.networking.parameter.PCreateGame
-
- randomTiles - Variable in class server.commands.games.GamesCommandFactory.CreateBuilder
-
- randomTiles - Variable in class server.model.RealServerGameManager
-
- randomTiles - Variable in class server.model.ServerGameManager
-
- randomTiles - Variable in class shared.networking.parameter.PCreateGame
-
- ratio - Variable in class server.commands.moves.MovesCommandFactory.MaritimeTradeBuilder
-
- ratio - Variable in class server.commands.moves.MovesMaritimeTradeCommand
-
- ratio - Variable in class shared.networking.parameter.PMaritimeTrade
-
- ratio - Variable in class shared.networking.transport.NetPort
-
- ReadFile(String) - Static method in class server.swagger.SwaggerUtils
-
- RealEarlyServerProxy - Class in client.networking
-
- RealEarlyServerProxy() - Constructor for class client.networking.RealEarlyServerProxy
-
Default constructor.
- RealEarlyServerProxy(String, int) - Constructor for class client.networking.RealEarlyServerProxy
-
Sets up connection with the server with specified parameters
- RealServerGameManager - Class in server.model
-
Special formation of the game manager
- RealServerGameManager(String, boolean, boolean, boolean) - Constructor for class server.model.RealServerGameManager
-
- ReceivedOffer(int, OfferedTrade) - Method in class server.ai.characters.AI
-
Called to tell the AI to take its turn.
- ReceivedOffer(int, OfferedTrade) - Method in class server.ai.characters.personalities.BeginnerPersonality
-
- ReceivedOffer(int, OfferedTrade) - Method in class server.ai.characters.personalities.Personality
-
- receiver - Variable in class shared.networking.parameter.POfferTrade
-
- receiver - Variable in class shared.networking.transport.NetTradeOffer
-
- receiverIndex - Variable in class server.commands.moves.MovesCommandFactory.OfferTradeBuilder
-
- receiverIndex - Variable in class server.commands.moves.MovesOfferTradeCommand
-
- recruitSolider() - Method in class shared.model.Bank
-
Adds one to the number of soliders you've played
- redBorder - Variable in class client.login.LoginView.TextFieldValidator
-
- refreshCount - Variable in class client.model.ClientGameManager
-
- RefreshFromServer() - Method in class client.model.ClientGameManager
-
What the poller pokes to refresh the game model from teh server
- refreshGameList() - Method in class client.join.JoinGameController
-
Refreshes the view's game list from the proxy
- refreshPlayersWaiting() - Method in class client.join.PlayerWaitingController
-
Refreshes the players waiting list
- RefreshView() - Method in interface client.map.view.IMapView
-
Used to refresh the display.
- RefreshView() - Method in class client.map.view.MapView
-
- register() - Method in interface client.login.ILoginController
-
Called when the user clicks the "Register" button in the login view
- register() - Method in class client.login.LoginController
-
- RegisterAI(String, int) - Method in class server.ai.AIHandler
-
Sets the player ID of the AI player.
- RegisterAI(String) - Method in class server.model.PlayerDen
-
- RegisterBuilder() - Constructor for class server.commands.user.UserCommandFactory.RegisterBuilder
-
- RegisterDirector() - Constructor for class server.commands.user.UserCommandFactory.RegisterDirector
-
- registerPanel - Variable in class client.login.LoginView
-
- RegisterPanel() - Constructor for class client.login.LoginView.RegisterPanel
-
- RegisterPlayer(String, String) - Method in class server.model.GameTable
-
Registers the user
- RegisterPlayer(String, String) - Method in class server.model.PlayerDen
-
Registers a new player with a password
- registerUser(String, String) - Method in interface client.networking.EarlyServerProxy
-
Registers a user with the specified username and password
- registerUser(String, String) - Method in class client.networking.GSONServerProxy
-
- registerUser(String, String) - Method in class client.networking.MockServerProxy
-
Registers a user with the specified username and password
- registerUser(String, String) - Method in class client.networking.RealEarlyServerProxy
-
- registerUser(String, String) - Method in interface client.networking.ServerProxy
-
Registers a user with the specified username and password
- rejectButton - Variable in class client.devcards.BuyDevCardView
-
- rejectButton - Variable in class client.domestic.AcceptTradeOverlay
-
- reloadGame(GameModel) - Method in class client.model.ClientGameManager
-
Loads in a game
- reloadGame(GameModel, boolean) - Method in class client.model.ClientGameManager
-
- reloadImg - Variable in class client.maritime.MaritimeTradeOverlay
-
- remove(AbstractButton) - Method in class client.devcards.ButtonGroupPanel
-
- remove(AbstractButton) - Method in interface client.devcards.IButtonGroup
-
- remove(ModelObserver) - Method in class shared.model.NotificationCenter
-
Removes a listener from all types
- remove(ModelObserver, ModelNotification) - Method in class shared.model.NotificationCenter
-
Removes a listener from a specific type
- removeTradeOffer() - Method in class shared.model.GameManager
-
Removes any trade offers, if any exist
- removeUpdate(DocumentEvent) - Method in class client.login.LoginView.TextFieldValidator
-
- Repaint() - Method in class client.map.view.MapOverlayView
-
- request_component - Variable in class client.domestic.AcceptTradeOverlay
-
- requesting_component - Variable in class client.domestic.AcceptTradeOverlay
-
- resCard1 - Variable in class client.devcards.PlayDevCardView
-
- resCard2 - Variable in class client.devcards.PlayDevCardView
-
- reset() - Method in interface client.devcards.IPlayDevCardView
-
Resets the view to its initial state.
- reset() - Method in class client.devcards.PlayDevCardView
-
- reset() - Method in class client.domestic.AcceptTradeOverlay
-
- reset() - Method in class client.domestic.DomesticTradeOverlay
-
- reset() - Method in interface client.domestic.IAcceptTradeOverlay
-
Resets the overlay back to the original settings.
- reset() - Method in interface client.domestic.IDomesticTradeOverlay
-
Resets the view to its initial state.
- reset() - Method in interface client.maritime.IMaritimeTradeOverlay
-
Resets the view to its initial state.
- reset() - Method in class client.maritime.MaritimeTradeOverlay
-
- reset() - Method in class server.model.RealServerGameManager
-
- reset() - Method in class shared.model.GameManager
-
Resets a game to default state
- ResetBuilder() - Constructor for class server.commands.game.GameCommandFactory.ResetBuilder
-
- resetButton(int) - Method in class client.join.SelectColorView
-
- ResetDirector() - Constructor for class server.commands.game.GameCommandFactory.ResetDirector
-
- resetResourcesToTrade() - Method in class client.domestic.DomesticTradeController
-
Just resets the resource to trade each time it's called
- resetToBankDefaults() - Method in class shared.model.Bank
-
- resetToPlayerDefaults() - Method in class shared.model.Bank
-
Resets the bank to the defaults of a player
- resetTradeOverlay() - Method in class client.domestic.DomesticTradeController
-
- resetTradeResesourceStates() - Method in class client.domestic.DomesticTradeController
-
Researches the internal button states each time it's called, should only be called when
domestic trade modal opens
- resetUpDownButtons() - Method in class client.domestic.DomesticTradeController
-
- resize(BufferedImage, int, int) - Static method in class client.maritime.MaritimeTradeOverlay
-
- resizeImage(BufferedImage, int, int) - Static method in class client.utils.ImageUtils
-
- Resource() - Constructor for class client.discard.DiscardView.Resource
-
- Resource(ResourceType) - Constructor for class client.discard.DiscardView.Resource
-
- Resource(ResourceType, int, int, boolean, boolean) - Constructor for class client.discard.DiscardView.Resource
-
- resource - Variable in class server.commands.moves.MovesCommandFactory.MonopolyBuilder
-
- resource - Variable in class server.commands.moves.MovesMonopolyCommand
-
- resource - Variable in class shared.networking.parameter.PMonopolyCard
-
- resource - Variable in class shared.networking.transport.NetPort
-
- resource1 - Variable in class server.commands.moves.MovesCommandFactory.YearOfPlentyBuilder
-
- resource1 - Variable in class server.commands.moves.MovesYearOfPlentyCommand
-
- resource1 - Variable in class shared.networking.parameter.PYearOfPlentyCard
-
- resource2 - Variable in class server.commands.moves.MovesCommandFactory.YearOfPlentyBuilder
-
- resource2 - Variable in class server.commands.moves.MovesYearOfPlentyCommand
-
- resource2 - Variable in class shared.networking.parameter.PYearOfPlentyCard
-
- RESOURCE_IMAGE_PATH - Variable in class client.discard.DiscardView
-
- RESOURCE_IMAGE_PATH - Variable in class client.resources.ResourceBarView
-
- RESOURCE_IMAGE_WIDTH - Variable in class client.domestic.DomesticTradeOverlay
-
- ResourceBarController - Class in client.resources
-
Implementation for the resource bar controller
- ResourceBarController(IResourceBarView) - Constructor for class client.resources.ResourceBarController
-
- ResourceBarElement - Enum in client.resources
-
- ResourceBarElement() - Constructor for enum client.resources.ResourceBarElement
-
- ResourceBarView - Class in client.resources
-
Implementation for the resource bar view
- ResourceBarView() - Constructor for class client.resources.ResourceBarView
-
- ResourceBarView.ResourceElement - Class in client.resources
-
- resourceButtonsMap - Variable in class client.domestic.DomesticTradeOverlay
-
- ResourceCardChooser - Class in client.devcards
-
- ResourceCardChooser() - Constructor for class client.devcards.ResourceCardChooser
-
- resourceController - Variable in class client.catan.RightPanel
-
- resourceCounts - Variable in class client.domestic.DomesticTradeOverlay
-
- ResourceElement() - Constructor for class client.resources.ResourceBarView.ResourceElement
-
- ResourceElement(ResourceBarElement) - Constructor for class client.resources.ResourceBarView.ResourceElement
-
- ResourceElement(ResourceBarElement, boolean) - Constructor for class client.resources.ResourceBarView.ResourceElement
-
- ResourceElement(ResourceBarElement, int) - Constructor for class client.resources.ResourceBarView.ResourceElement
-
- ResourceElement(ResourceBarElement, boolean, int) - Constructor for class client.resources.ResourceBarView.ResourceElement
-
- ResourceElement(ResourceBarElement, boolean, BufferedImage) - Constructor for class client.resources.ResourceBarView.ResourceElement
-
- ResourceElement(ResourceBarElement, boolean, BufferedImage, int) - Constructor for class client.resources.ResourceBarView.ResourceElement
-
- ResourceElement(ResourceBarElement, boolean, boolean, int) - Constructor for class client.resources.ResourceBarView.ResourceElement
-
- ResourceElement(ResourceBarElement, boolean, boolean, BufferedImage, int) - Constructor for class client.resources.ResourceBarView.ResourceElement
-
- resourceElementList - Variable in class client.resources.ResourceBarView
-
- resourceImageFolder - Variable in class client.maritime.MaritimeTradeOverlay
-
- resourceList - Variable in class client.discard.DiscardController
-
- resourceList - Variable in class client.discard.DiscardView
-
- resourceList - Variable in class shared.networking.parameter.PDiscardCards
-
- resourceList - Variable in class shared.networking.parameter.POfferTrade
-
- resourcePanel - Variable in class client.discard.DiscardView
-
- resourcePanel - Variable in class client.resources.ResourceBarView
-
- ResourcePositions() - Constructor for enum client.domestic.DomesticTradeController.ResourcePositions
-
- ResourcePositions() - Constructor for enum client.maritime.MaritimeTradeController.ResourcePositions
-
- resources - Variable in class client.discard.DiscardView
-
- resources - Variable in class client.resources.ResourceBarView
-
- resources - Variable in class shared.model.Bank
-
- resourceSelectionPanels - Variable in class client.domestic.DomesticTradeOverlay
-
- resourcesPlayerCanGet - Variable in class client.maritime.MaritimeTradeController
-
- resourcesPlayerCanGive - Variable in class client.maritime.MaritimeTradeController
-
- resourceStates - Variable in class client.domestic.DomesticTradeController
-
- resourcesToString() - Method in class shared.model.Bank
-
- resourcesToTrade - Variable in class client.domestic.DomesticTradeController
-
- resourceToTrade - Variable in class client.model.ClientGameManager
-
- ResourceType - Enum in shared.definitions
-
- ResourceType() - Constructor for enum shared.definitions.ResourceType
-
- resourceType - Variable in class shared.networking.transport.NetHex
-
- resourceView - Variable in class client.catan.RightPanel
-
- response - Variable in class server.commands.user.UserLoginCommand
-
- response - Variable in class server.commands.user.UserRegisterCommand
-
- resultView - Variable in class client.roll.RollController
-
- ReverseOrder(Coordinate, Coordinate) - Method in class shared.model.map.handlers.EdgeHandler
-
- RIGHT_MARGIN - Variable in class client.communication.LogComponent
-
- rightPanel - Variable in class client.catan.CatanPanel
-
- RightPanel - Class in client.catan
-
- RightPanel(IMapController) - Constructor for class client.catan.RightPanel
-
- ROAD - Static variable in class client.map.view.MapComponent
-
- Road(CatanColor) - Constructor for class shared.model.map.model.RoadCounter.Road
-
- ROAD_HEIGHT - Static variable in class client.map.view.helpers.Dimensions
-
- ROAD_HEIGHT - Static variable in class client.map.view.MapComponent
-
- ROAD_WIDTH - Static variable in class client.map.view.helpers.Dimensions
-
- ROAD_WIDTH - Static variable in class client.map.view.MapComponent
-
- roadAction - Variable in class client.devcards.DevCardController
-
- RoadBuilderState - Class in client.map.view.mapState
-
Road builder state is associated with the road builder card.
- RoadBuilderState() - Constructor for class client.map.view.mapState.RoadBuilderState
-
- roadbuilding - Variable in class client.devcards.DevelopmentCardChooser
-
- RoadBuildingBuilder() - Constructor for class server.commands.moves.MovesCommandFactory.RoadBuildingBuilder
-
- roadBuildingCard(EdgeLocation, EdgeLocation) - Method in interface client.networking.EarlyServerProxy
-
Notifies the server that the user has played a road building card
- roadBuildingCard(Coordinate, Coordinate, Coordinate, Coordinate) - Method in class client.networking.GSONServerProxy
-
- roadBuildingCard(EdgeLocation, EdgeLocation) - Method in class client.networking.MockServerProxy
-
Notifies the server that the user has played a road building card
- roadBuildingCard(EdgeLocation, EdgeLocation) - Method in class client.networking.RealEarlyServerProxy
-
- roadBuildingCard(Coordinate, Coordinate, Coordinate, Coordinate) - Method in interface client.networking.ServerProxy
-
Notifies the server that the user has played a road building card
- RoadBuildingDirector() - Constructor for class server.commands.moves.MovesCommandFactory.RoadBuildingDirector
-
- RoadComparer() - Constructor for class shared.model.map.model.RoadCounter.RoadComparer
-
- RoadCounter - Class in shared.model.map.model
-
- RoadCounter(IMapModel) - Constructor for class shared.model.map.model.RoadCounter
-
- RoadCounter.Road - Class in shared.model.map.model
-
- RoadCounter.RoadComparer - Class in shared.model.map.model
-
- RoadDropObject - Class in client.map.view.dropObject
-
Creates a object used for placing roads.
- RoadDropObject(IMapController, CatanColor) - Constructor for class client.map.view.dropObject.RoadDropObject
-
Creates a RoadDropObject.
- roadExists - Variable in class shared.model.map.objects.Edge
-
- roadImage - Variable in class client.resources.ResourceBarView
-
- RoadSetupState - Class in client.map.view.mapState
-
Road setup state is during the intial setup phase of the game when a road is being
placed.
- RoadSetupState() - Constructor for class client.map.view.mapState.RoadSetupState
-
- RoadsSatisfyRoadPlacement(Edge, CatanColor) - Method in class shared.model.map.model.MapModel
-
- RoadValue - Variable in class shared.model.VictoryPointManager
-
- Rob(GameModel) - Method in class server.ai.characters.personalities.BeginnerPersonality
-
- Rob(int, int, Coordinate) - Method in class server.ai.characters.personalities.Personality
-
- robber - Variable in class shared.model.map.model.MapModel
-
- Robber - Class in shared.model.map.objects
-
Used to store information about the robber.
- Robber(Hex) - Constructor for class shared.model.map.objects.Robber
-
Creates a robber object and associates it with a hex.
- ROBBER_HEIGHT - Static variable in class client.map.view.helpers.Dimensions
-
- ROBBER_IMAGE - Variable in class client.map.view.helpers.ImageHandler
-
- ROBBER_WIDTH - Static variable in class client.map.view.helpers.Dimensions
-
- RobberDropObject - Class in client.map.view.dropObject
-
Handles the placement of the robber on the map.
- RobberDropObject(IMapController, CatanColor) - Constructor for class client.map.view.dropObject.RobberDropObject
-
Creates a RobberDropObject.
- robberLocation - Variable in class shared.networking.transport.NetMap
-
- robPlayer(int, HexLocation) - Method in interface client.networking.EarlyServerProxy
-
Notifies the server that the user has decided to rob another player
- robPlayer(int, Coordinate) - Method in class client.networking.GSONServerProxy
-
- robPlayer(int, HexLocation) - Method in class client.networking.MockServerProxy
-
Notifies the server that the user has decided to rob another player
- robPlayer(int, HexLocation) - Method in class client.networking.RealEarlyServerProxy
-
- robPlayer(int, Coordinate) - Method in interface client.networking.ServerProxy
-
Notifies the server that the user has decided to rob another player
- RobPlayerBuilder() - Constructor for class server.commands.moves.MovesCommandFactory.RobPlayerBuilder
-
- RobPlayerDirector() - Constructor for class server.commands.moves.MovesCommandFactory.RobPlayerDirector
-
- RobPlayerInfo - Class in client.data
-
Used to pass player information into the rob view
PROPERTIES:
Id: Unique player ID
PlayerIndex: Player's order in the game [0-3]
Name: Player's name (non-empty string)
Color: Player's color (cannot be null)
NumCards: Number of development cards the player has (>= 0)
- RobPlayerInfo() - Constructor for class client.data.RobPlayerInfo
-
- RobPlayerInfo(PlayerInfo) - Constructor for class client.data.RobPlayerInfo
-
- RobVictim(int) - Method in class client.model.ClientGameManager
-
- RobView - Class in client.map
-
Implementation for the rob view, which lets the user select a player to rob
- RobView() - Constructor for class client.map.RobView
-
- roll - Variable in class server.commands.moves.MovesCommandFactory.RollNumberBuilder
-
- roll - Variable in class server.commands.moves.MovesRollNumberCommand
-
- Roll - Variable in class shared.networking.parameter.PRollDice
-
- rollButton - Variable in class client.roll.RollView
-
- rollController - Variable in class client.catan.CatanPanel
-
- RollController - Class in client.roll
-
Implementation for the roll controller
- RollController(IRollView, IRollResultView) - Constructor for class client.roll.RollController
-
RollController constructor
- RollDice() - Method in class client.model.ClientGameManager
-
Notifies the server after rolling the dice
- rollDice() - Method in interface client.roll.IRollController
-
Called when the user clicks the "Roll!" button in the roll view
- rollDice() - Method in class client.roll.RollController
-
- RollDice(int) - Method in class server.ai.characters.personalities.Personality
-
Rolls the dice with a random number (2-12)
- RollDice(int, int) - Method in class server.ai.characters.personalities.Personality
-
Rolls the dice at a specific number
- RollDice() - Method in class shared.model.GameManager
-
- rollLabel - Variable in class client.roll.RollResultView
-
- rollNumber(int) - Method in interface client.networking.EarlyServerProxy
-
Reports the result of a dice roll to the server
- rollNumber(int) - Method in class client.networking.GSONServerProxy
-
- rollNumber(int) - Method in class client.networking.MockServerProxy
-
Reports the result of a dice roll to the server
- rollNumber(int) - Method in class client.networking.RealEarlyServerProxy
-
- rollNumber(int) - Method in interface client.networking.ServerProxy
-
Reports the result of a dice roll to the server
- RollNumberBuilder() - Constructor for class server.commands.moves.MovesCommandFactory.RollNumberBuilder
-
- RollNumberDirector() - Constructor for class server.commands.moves.MovesCommandFactory.RollNumberDirector
-
- rollResultView - Variable in class client.catan.CatanPanel
-
- RollResultView - Class in client.roll
-
Implementation for the roll result view, which displays the result of a roll
- RollResultView() - Constructor for class client.roll.RollResultView
-
- rollView - Variable in class client.catan.CatanPanel
-
- RollView - Class in client.roll
-
Implementation for the roll view, which allows the user to roll the dice
- RollView() - Constructor for class client.roll.RollView
-
- rootPath - Static variable in class server.swagger.SwaggerHandlers
-
- rotateShape(List<Point2D>, double) - Static method in class client.map.view.MapComponent
-
- round - Variable in class shared.networking.transport.NetTurnTracker
-
- RoundedButton - Class in client.custom.cwt
-
- RoundedButton() - Constructor for class client.custom.cwt.RoundedButton
-
- RoundedButton(String) - Constructor for class client.custom.cwt.RoundedButton
-
- Run(String, int) - Static method in class client.main.Catan
-
- run() - Method in class server.ai.AIHandler.AIChat
-
- run() - Method in class server.ai.AIHandler.AIDiscard
-
- run() - Method in class server.ai.AIHandler.AITakeTurn
-
- run() - Method in class server.ai.AIHandler.AITrade
-
- RunAI(int, int) - Method in class server.ai.AIHandler
-
Tells an AI to begin its turn.