| 7 | Farms_Timing farms_timing_impl(AISCRIPT::Enum::FARMS_TIMING); |
| 8 | |
| 9 | bool Farms_Timing::execute(aithread &thread) const |
| 10 | { |
| 11 | if ( this->getOpcode() == AISCRIPT::Enum::FARMS_NOTIMING ) // off |
| 12 | MainController.setFlags(CONTROLLER_FARMS_TIMING_OFF); |
| 13 | else // on |
| 14 | MainController.clearFlags(CONTROLLER_FARMS_TIMING_OFF); |
| 15 | |
| 16 | // Debug and return |
| 17 | thread.saveDebug(Text::Green, this->getOpcode()); |
| 18 | return true; |
| 19 | } |
nothing calls this directly
no test coverage detected