Uses of Class
edu.cnm.deepdive.dominionendpointtestspring.model.entity.Player
-
-
Uses of Player in edu.cnm.deepdive.dominionendpointtestspring.model.dao
Methods in edu.cnm.deepdive.dominionendpointtestspring.model.dao that return Player Modifier and Type Method Description Player
PlayerRepository. getByPlayerStateInGame(Player.PlayerStateInGame playerStateInGame)
Methods in edu.cnm.deepdive.dominionendpointtestspring.model.dao that return types with arguments of type Player Modifier and Type Method Description java.util.Optional<Player>
PlayerRepository. findByOauthKey(java.lang.String uid)
Methods in edu.cnm.deepdive.dominionendpointtestspring.model.dao with parameters of type Player Modifier and Type Method Description java.util.Optional<java.lang.Integer>
CardRepository. countAllByPlayerAndLocation(Player player, Card.Location hand)
java.util.Optional<java.util.List<Play>>
PlayRepository. getAllByGameAndPlayerAndTurn(Game game, Player player, Turn turn)
java.util.Optional<java.util.ArrayList<Card>>
CardRepository. getAllByPlayer(Player player)
java.util.Optional<java.util.List<Card>>
CardRepository. getAllByPlayerAndLocation(Player player, Card.Location location)
java.util.ArrayList<Card>
CardRepository. getAllByPlayerAndLocationOrderByOrderInLocation(Player player, Card.Location location)
java.util.Optional<Card>
CardRepository. getByLocationAndPlayerAndType(Card.Location location, Player player, Card.Type type)
GamePlayer
GamePlayerRepository. getByPlayer(Player player)
-
Uses of Player in edu.cnm.deepdive.dominionendpointtestspring.model.entity
Methods in edu.cnm.deepdive.dominionendpointtestspring.model.entity that return Player Modifier and Type Method Description Player
Card. getPlayer()
Player
GamePlayer. getPlayer()
Player
Play. getPlayer()
Player
Turn. getPlayer()
Methods in edu.cnm.deepdive.dominionendpointtestspring.model.entity with parameters of type Player Modifier and Type Method Description void
Card. setPlayer(Player player)
void
GamePlayer. setPlayer(Player player)
void
Play. setPlayer(Player player)
void
Turn. setPlayer(Player player)
Constructors in edu.cnm.deepdive.dominionendpointtestspring.model.entity with parameters of type Player Constructor Description Turn(Game game, Player player)
-
Uses of Player in edu.cnm.deepdive.dominionendpointtestspring.service
Methods in edu.cnm.deepdive.dominionendpointtestspring.service that return Player Modifier and Type Method Description Player
PlayerService. getOrCreatePlayer(java.lang.String oauthKey, java.lang.String displayName)
Methods in edu.cnm.deepdive.dominionendpointtestspring.service with parameters of type Player Modifier and Type Method Description Game
GameLogic. buyCard(java.lang.String cardType, Game game, Player player)
This method performs actions to buy a card.Game
GameLogic. discardForMilitia(Game game, Player player, java.util.List<java.lang.String> cardStrings)
This card performs the discarding functions when a player is attacked.Game
GameLogic. endPhase(Game game, Player player)
This method ends the current phase, called from GameController.Game
GameLogic. initializeGame(Game game, Player player1, Player player2)
This method sets up the initial conditions for a game.Game
GameLogic. playCard(java.lang.String cardType, Game game, Player player)
This is an overload of the other playCard method which functions if no additional cards have been passed in as arguments.Game
GameLogic. playCard(java.lang.String cardType, Game game, Player player, java.util.ArrayList<java.lang.String> cardStrings)
This method plays a card. -
Uses of Player in edu.cnm.deepdive.dominionendpointtestspring.state
Methods in edu.cnm.deepdive.dominionendpointtestspring.state that return Player Modifier and Type Method Description Player
GameStateInfo. getActivePlayer()
Player
GameStateInfo. getRequestingPlayer()
Methods in edu.cnm.deepdive.dominionendpointtestspring.state with parameters of type Player Modifier and Type Method Description void
GameStateInfo. setActivePlayer(Player activePlayer)
void
GameStateInfo. setRequestingPlayer(Player requestingPlayer)
Constructors in edu.cnm.deepdive.dominionendpointtestspring.state with parameters of type Player Constructor Description GameStateInfo(Game game, Turn turn, Player requestingPlayer, Player activePlayer, GameState gameState)
GameStateInfo(Game game, Turn turn, Player player, GameState gameState)
-
Uses of Player in edu.cnm.deepdive.dominionendpointtestspring.view
Methods in edu.cnm.deepdive.dominionendpointtestspring.view that return Player Modifier and Type Method Description Player
FlatGameGamePlayer. getPlayer()
-