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

Method enter

forge-gui-mobile/src/forge/adventure/scene/GameScene.java:52–62  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

50 }
51
52 @Override
53 public void enter() {
54 MapStage.getInstance().clearIsInMap();
55 Forge.clearTransitionScreen();
56 Forge.clearCurrentScreen();
57 super.enter();
58 // This causes the inifine load of POI if the two collision point is too close.
59 // IIRC This is used before and the player will start inside the POI.
60 // but we don't allow saving inside the POI anymore.
61 // WorldStage.getInstance().handlePointsOfInterestCollision();
62 }
63
64 public String getAdventurePlayerLocation(boolean forHeader, boolean skipRoads) {
65 if (MapStage.getInstance().isInMap()) {

Callers

nothing calls this directly

Calls 4

getInstanceMethod · 0.95
clearTransitionScreenMethod · 0.95
clearCurrentScreenMethod · 0.95
clearIsInMapMethod · 0.80

Tested by

no test coverage detected