Uses of Class
edu.cnm.deepdive.dominionendpointtestspring.model.entity.Turn
-
-
Uses of Turn in edu.cnm.deepdive.dominionendpointtestspring.model.dao
Methods in edu.cnm.deepdive.dominionendpointtestspring.model.dao that return types with arguments of type Turn Modifier and Type Method Description java.util.Optional<java.util.List<Turn>>
TurnRepository. getAllByGameOrderByIdDesc(Game game)
java.util.Optional<java.util.List<Turn>>
TurnRepository. getAllByOrderByIdDesc()
Methods in edu.cnm.deepdive.dominionendpointtestspring.model.dao with parameters of type Turn Modifier and Type Method Description java.util.Optional<java.util.List<Play>>
PlayRepository. getAllByGameAndPlayerAndTurn(Game game, Player player, Turn turn)
java.util.Optional<java.util.List<Play>>
PlayRepository. getAllByGameAndTurn(Game game, Turn previousTurn)
java.util.Optional<java.util.List<Play>>
PlayRepository. getAllByTurn(Turn turn)
java.util.Optional<java.util.List<Play>>
PlayRepository. getAllByTurnAndType(Turn turn, Play.Type type)
-
Uses of Turn in edu.cnm.deepdive.dominionendpointtestspring.model.entity
Methods in edu.cnm.deepdive.dominionendpointtestspring.model.entity that return Turn Modifier and Type Method Description Turn
Game. getLastTurn()
Turn
Play. getTurn()
Methods in edu.cnm.deepdive.dominionendpointtestspring.model.entity that return types with arguments of type Turn Modifier and Type Method Description java.util.List<Turn>
Game. getTurns()
Methods in edu.cnm.deepdive.dominionendpointtestspring.model.entity with parameters of type Turn Modifier and Type Method Description void
Play. setTurn(Turn turn)
Method parameters in edu.cnm.deepdive.dominionendpointtestspring.model.entity with type arguments of type Turn Modifier and Type Method Description void
Game. setTurns(java.util.List<Turn> turns)
-
Uses of Turn in edu.cnm.deepdive.dominionendpointtestspring.service
Methods in edu.cnm.deepdive.dominionendpointtestspring.service that return Turn Modifier and Type Method Description Turn
GameLogic. getCurrentTurn(Game game)
This method gets the current turn.Turn
GameLogic. getPreviousTurn(Game game)
This method gets the previous turn. -
Uses of Turn in edu.cnm.deepdive.dominionendpointtestspring.state
Methods in edu.cnm.deepdive.dominionendpointtestspring.state that return Turn Modifier and Type Method Description Turn
GameStateInfo. getTurn()
Methods in edu.cnm.deepdive.dominionendpointtestspring.state with parameters of type Turn Modifier and Type Method Description void
GameStateInfo. setTurn(Turn turn)
Constructors in edu.cnm.deepdive.dominionendpointtestspring.state with parameters of type Turn Constructor Description GameStateInfo(Game game, Turn turn, Player requestingPlayer, Player activePlayer, GameState gameState)
GameStateInfo(Game game, Turn turn, Player player, GameState gameState)
-