MCPcopy Create free account
hub / github.com/EasyRPG/Player / TransitionOut

Method TransitionOut

src/scene_battle.cpp:172–186  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

170}
171
172void Scene_Battle::TransitionOut(SceneType next_scene) {
173 auto& transition = Transition::instance();
174
175 if (next_scene == Scene::Debug) {
176 transition.InitErase(Transition::TransitionCutOut, this);
177 return;
178 }
179
180 if (next_scene == Scene::Null || next_scene == Scene::Title) {
181 Scene::TransitionOut(next_scene);
182 return;
183 }
184
185 transition.InitErase(Main_Data::game_system->GetTransition(Main_Data::game_system->Transition_EndBattleErase), this);
186}
187
188void Scene_Battle::DrawBackground(Bitmap& dst) {
189 dst.Clear();

Callers

nothing calls this directly

Calls 2

InitEraseMethod · 0.80
GetTransitionMethod · 0.80

Tested by

no test coverage detected