Decreases animation speed by 1 amount stopping at 0 :param step:
(self)
| 355 | self._do_update() |
| 356 | |
| 357 | def decrease_ani(self): |
| 358 | ''' |
| 359 | Decreases animation speed by 1 amount stopping at 0 |
| 360 | :param step: |
| 361 | ''' |
| 362 | self.animation_speed = clamp(self.animation_speed - 1, 0, 10) |
| 363 | |
| 364 | if self._check_update(): |
| 365 | self._do_update() |
| 366 | |
| 367 | def off(self): |
| 368 | ''' |
no test coverage detected