Class nbody.Body


Ivars

float ax
Semaphore mySem
array[Body] planets
int myIndex
float radius
float mass
float y
int NUMPLANETS
float x
boolean sticky
float G
float ay

Methods

void move()
Body constructor(float x_, float y_, float mass_, float radius_, float ax_, float ay_, int index, Semaphore sem)
void assignBody(int index, Body partner)