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

Method GetTarget

src/game_battlealgorithm.cpp:141–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139}
140
141Game_Battler* Game_BattleAlgorithm::AlgorithmBase::GetTarget() const {
142 if (current_target == targets.end()) {
143 return NULL;
144 }
145
146 return *current_target;
147}
148
149bool Game_BattleAlgorithm::AlgorithmBase::Execute() {
150 Reset();

Calls 1

endMethod · 0.45

Tested by

no test coverage detected