mirror of
https://github.com/opelly27/Java-N-Body-Simulation.git
synced 2026-05-20 02:47:37 +00:00
18 lines
398 B
Java
18 lines
398 B
Java
public class SpaceTaskHandaler implements Runnable {
|
|
Space state;
|
|
public SpaceTaskHandaler(Space state){
|
|
state = this.state;
|
|
}
|
|
public static void main(String[] args){
|
|
|
|
}
|
|
|
|
@Override
|
|
public void run() {
|
|
for(int i = 0; i < this.state.bodies.length; i ++){
|
|
this.state.bodies[i].calcNetForce(this.state.bodies);
|
|
}
|
|
|
|
}
|
|
}
|