SHARE
TWEET

Untitled

a guest Aug 18th, 2017 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Planet[] planetsArray = new Planet[planets];
  2.  
  3.       for(int i=0; i<planets; i++) {
  4.         Planet currentPlanet = planetsArray[i];
  5.         // planetsArray[i] = currentPlanet;
  6.         currentPlanet.xxPos = in.readDouble();
  7.         currentPlanet.yyPos = in.readDouble();
  8.         currentPlanet.xxVel = in.readDouble();
  9.         currentPlanet.yyVel = in.readDouble();
  10.         currentPlanet.mass = in.readDouble();
  11.         currentPlanet.imgFileName = in.readString();
  12.       }
RAW Paste Data
Top