MCPcopy Create free account
hub / github.com/Card-Forge/forge / getTurnOrder

Method getTurnOrder

forge-game/src/main/java/forge/game/Game.java:525–530  ·  view source on GitHub ↗

The Direction in which the turn order of this Game currently proceeds.

()

Source from the content-addressed store, hash-verified

523 * The Direction in which the turn order of this Game currently proceeds.
524 */
525 public final Direction getTurnOrder() {
526 if (phaseHandler.getPlayerTurn() != null && phaseHandler.getPlayerTurn().isTurnOrderReversed()) {
527 return turnOrder.getOtherDirection();
528 }
529 return turnOrder;
530 }
531 public final void reverseTurnOrder() {
532 turnOrder = turnOrder.getOtherDirection();
533 }

Callers 3

getPlayersInTurnOrderMethod · 0.95
getNextPlayerAfterMethod · 0.95

Calls 3

isTurnOrderReversedMethod · 0.80
getOtherDirectionMethod · 0.80
getPlayerTurnMethod · 0.45

Tested by

no test coverage detected