original_docstring: 
          The ship piloting logic goes in herew
          :note: We work in 2 dimentions with nealy everything here
          
docstring: The ship piloting logic goes in herew
docstring_tokens: The ship piloting logic goes in herew
code: def update(self, delta_time):
          """
          The ship piloting logic goes in herew
          :note: We work in 2 dimentions with nealy everything here
          """
          self._speed.drag_calculation(self._drag)
  
          self._speed += self._thrust
          ms = self.max_speed()
          self._speed.clamp(-ms, ms)
  
          self._angle += self.angle_delta
          self._change.x = -math.sin(math.radians(self._angle)) * self._speed.y
          self._change.y = math.cos(math.radians(self._angle)) * self._speed.y
  
          self._change.x += -math.sin(math.radians(self._angle + 90)) * self._speed.x
          self._change.y += math.cos(math.radians(self._angle + 90)) * self._speed.x
  
          s = self.sprite()
          s.center_x += self._change.x
          s.center_y += self._change.y
          s.angle = int(self._angle)
          self.set_position(Position(s.center_x, s.center_y))
  
          super().update(delta_time)
  
          # Update all the components as well
          emap(lambda x: x.update(delta_time), self._hardpoints)
          emap(lambda x: x.update(delta_time), self._engines)
code_tokens: def update ( self , delta_time ) : self . _speed . drag_calculation ( self . _drag ) self . _speed += self . _thrust ms = self . max_speed ( ) self . _speed . clamp ( - ms , ms ) self . _angle += self . angle_delta self . _change . x = - math . sin ( math . radians ( self . _angle ) ) * self . _speed . y self . _change . y = math . cos ( math . radians ( self . _angle ) ) * self . _speed . y self . _change . x += - math . sin ( math . radians ( self . _angle + 90 ) ) * self . _speed . x self . _change . y += math . cos ( math . radians ( self . _angle + 90 ) ) * self . _speed . x s = self . sprite ( ) s . center_x += self . _change . x s . center_y += self . _change . y s . angle = int ( self . _angle ) self . set_position ( Position ( s . center_x , s . center_y ) ) super ( ) . update ( delta_time ) emap ( lambda x : x . update ( delta_time ) , self . _hardpoints ) emap ( lambda x : x . update ( delta_time ) , self . _engines )
short_docstring: The ship piloting logic goes in herew
short_docstring_tokens: The ship piloting logic goes in herew
comment: """
          The ship piloting logic goes in herew
          :note: We work in 2 dimentions with nealy everything here
          """$SEP$# Update all the components as well