daily pastebin goal
32%
SHARE
TWEET

Untitled

a guest Jul 17th, 2018 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package marsrover;
  2.  
  3. public class MarsRoverDetachmentSystem implements AccelerometerObserver {
  4.     private final Parachute parachute;
  5.  
  6.     public MarsRoverDetachmentSystem (Parachute parachute) {
  7.         this.parachute = parachute;
  8.     }
  9.  
  10.     public void handleAccelerationReport (double acceleration) {
  11.         parachute.detach ();
  12.     }
  13. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top