MCPcopy Create free account
hub / github.com/The-Powder-Toy/The-Powder-Toy / LoadSaveFile

Method LoadSaveFile

src/gui/game/GameController.cpp:1299–1302  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1297}
1298
1299void GameController::LoadSaveFile(std::unique_ptr<SaveFile> file)
1300{
1301 gameModel->SetSaveFile(std::move(file), gameView->ShiftBehaviour());
1302}
1303
1304
1305void GameController::LoadSave(std::unique_ptr<SaveInfo> save)

Callers 1

OnFileDropMethod · 0.45

Calls 3

moveFunction · 0.85
SetSaveFileMethod · 0.80
ShiftBehaviourMethod · 0.80

Tested by

no test coverage detected