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

Method IsCurrentTargetValid

src/game_battlealgorithm.cpp:496–501  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

494}
495
496bool Game_BattleAlgorithm::AlgorithmBase::IsCurrentTargetValid() const {
497 if (current_target == targets.end()) {
498 return false;
499 }
500 return IsTargetValid(**current_target);
501}
502
503bool Game_BattleAlgorithm::AlgorithmBase::TargetNextInternal() {
504 do {

Calls 1

endMethod · 0.45

Tested by

no test coverage detected