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

Method Flash

src/game_battler.cpp:721–727  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

719}
720
721void Game_Battler::Flash(int r, int g, int b, int power, int frames) {
722 flash.red = r;
723 flash.green = g;
724 flash.blue = b;
725 flash.current_level = power;
726 flash.time_left = frames;
727}
728
729const std::vector<lcf::rpg::State*> Game_Battler::GetInflictedStatesOrderedByPriority() const {
730 std::vector<lcf::rpg::State*> state_list = State::GetObjects(GetStates());

Callers 7

FlashTargetsMethod · 0.45
ApplyCustomEffectMethod · 0.45
SelectionFlashMethod · 0.45
CommandFlashSpriteMethod · 0.45
testFlashFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected