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

Method applyToGame

forge-game/src/main/java/forge/game/GameState.java:580–582  ·  view source on GitHub ↗
(final Game game)

Source from the content-addressed store, hash-verified

578 }
579
580 public void applyToGame(final Game game) {
581 game.getAction().invoke(() -> applyGameOnThread(game));
582 }
583
584 protected void applyGameOnThread(final Game game) {
585 if (game.getPlayers().size() != playerStates.size()) {

Callers 6

setupGameStateMethod · 0.95
startMatchMethod · 0.80
rollbackPhaseMethod · 0.80
startPuzzleCreateMethod · 0.80
startPuzzleSolveMethod · 0.80
startPuzzleSolveMethod · 0.80

Calls 3

applyGameOnThreadMethod · 0.95
invokeMethod · 0.80
getActionMethod · 0.45

Tested by

no test coverage detected