Refactor comments

This commit is contained in:
2022-03-28 10:31:17 +02:00
parent dca869995a
commit fcacaa8657
9 changed files with 152 additions and 88 deletions

View File

@ -12,7 +12,9 @@ import java.util.Random;
// 3. Beim Methodenaufruf steht links vom `.` entweder das Objekt, oder die Klasse. In Java beginnen Variablennamen
// üblicherweise mit Kleinbuchstaben und Klassennamen üblicherweise mit einem Großbuchstaben.
// Simulates the formation of a massive solar system.
/**
* Simulates the formation of a massive solar system.
*/
public class Simulation {
// gravitational constant
@ -37,7 +39,9 @@ public class Simulation {
// all quantities are based on units of kilogram respectively second and meter.
// The main simulation method using instances of other classes.
/**
* The main simulation method using instances of other classes.
*/
public static void main(String[] args) {
// simulation
CodeDraw cd = new CodeDraw();
@ -127,6 +131,5 @@ public class Simulation {
bodies = newBodies;
}
}
}