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

Method CancelBattleAnimation

src/game_screen.cpp:404–409  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

402}
403
404void Game_Screen::CancelBattleAnimation() {
405 data.battleanim_frame = animation ?
406 animation->GetFrames() : 0;
407 data.battleanim_active = false;
408 animation.reset();
409}
410
411void Game_Screen::UpdateUnderlyingEventReferences() {
412 if (!IsBattleAnimationWaiting()) {

Callers

nothing calls this directly

Calls 2

GetFramesMethod · 0.45
resetMethod · 0.45

Tested by

no test coverage detected