Aufgabenblatt 4

This commit is contained in:
Anton Ertl
2022-04-25 12:04:51 +02:00
parent 324626f5eb
commit ef01f2a0fc
7 changed files with 469 additions and 0 deletions

View File

@ -0,0 +1,14 @@
// A cosmic system that is composed of a central named body (of type 'NamedBodyForcePair')
// and an arbitrary number of subsystems (of type 'HierarchicalSystem') in its orbit.
// This class implements 'CosmicSystem'.
//
public class HierarchicalSystem /* TODO: add clause */ {
// TODO: define missing parts of this class.
// Initializes this system with a name and a central body.
public HierarchicalSystem(NamedBodyForcePair central, CosmicSystem... inOrbit) {
// TODO: implement constructor.
}
}