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

Method accept

forge-gui-mobile/src/forge/deck/FDeckChooser.java:225–235  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

223 }
224
225 private void accept() {
226 if (optionPane == null) {
227 Forge.back();
228 if (callback != null) {
229 callback.accept(getDeck());
230 }
231 }
232 else {
233 optionPane.setResult(0);
234 }
235 }
236
237 @Override
238 public void onActivate() {

Callers 2

FDeckChooserMethod · 0.95
promptForDeckMethod · 0.45

Calls 3

backMethod · 0.95
getDeckMethod · 0.95
setResultMethod · 0.45

Tested by

no test coverage detected