AB3: BodyForceTreeMap working

This commit is contained in:
2022-03-31 21:47:53 +02:00
parent 9925835a1e
commit 01b2fb8989
5 changed files with 126 additions and 10 deletions

View File

@ -14,7 +14,7 @@ public class Simulation3 {
public static void main(String[] args) {
CodeDraw cd = new CodeDraw();
BodyLinkedList bodies = new BodyLinkedList();
BodyForceMap forceOnBody = new BodyForceMap();
BodyForceTreeMap forceOnBody = new BodyForceTreeMap();
Random random = new Random(2022);