Modifies the time factor. Args: value: A float scalar, new value of the time factor.
(self, value)
| 110 | return self._real_time_multiplier |
| 111 | |
| 112 | def set(self, value): |
| 113 | """Modifies the time factor. |
| 114 | |
| 115 | Args: |
| 116 | value: A float scalar, new value of the time factor. |
| 117 | """ |
| 118 | self._real_time_multiplier = max( |
| 119 | _MIN_TIME_MULTIPLIER, min(_MAX_TIME_MULTIPLIER, value)) |
| 120 | |
| 121 | def __str__(self): |
| 122 | """Returns a formatted string containing the time factor.""" |
no outgoing calls
no test coverage detected