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

Method IsAnyControllable

src/game_party.cpp:770–777  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

768}
769
770bool Game_Party::IsAnyControllable() {
771 for (auto& actor: GetActors()) {
772 if (actor->IsControllable()) {
773 return true;
774 }
775 }
776 return false;
777}
778
779Game_Actor* Game_Party::GetHighestLeveledActorWhoCanUse(const lcf::rpg::Item* item) const {
780 Game_Actor* best = nullptr;

Callers 1

Calls 1

IsControllableMethod · 0.80

Tested by

no test coverage detected