(&mut self)
| 131 | } |
| 132 | |
| 133 | pub fn reset(&mut self) { |
| 134 | self.current_index = 0; |
| 135 | self.conditions.clear(); |
| 136 | self.functions.clear(); |
| 137 | self.target_times.clear(); |
| 138 | self.durations.clear(); |
| 139 | self.compiled = false; |
| 140 | } |
| 141 | |
| 142 | // This method will evaluate the current |
| 143 | // gate condition and, if true, execute |