def agitate(self):
<EOL>self._velocity *= <NUM_LIT> / self._inertia<EOL>maxV = (self.max - self.min)/<NUM_LIT:2><EOL>if self._velocity > maxV:<EOL><INDENT>self._velocity = maxV<EOL><DEDENT>elif self._velocity < -maxV:<EOL><INDENT>self._velocity = -maxV<EOL><DEDENT>if self._position == self.max and self._velocity > <NUM_LIT:0>:<EOL><INDENT>self._velocity *= -<NUM_LIT:1><EOL><DEDENT>if self._position == self.min and self._velocity < <NUM_LIT:0>:<EOL><INDENT>self._velocity *= -<NUM_LIT:1><EOL><DEDENT>
See comments in base class.