Exemple #1
0
 public AlfaSys(Universum universum, Mond mond, Sonne sonne, Erde erd, string i)
 {
     this.universum         = universum;
     this.mond              = mond;
     this.sonne             = sonne;
     this.erde              = erd;
     this.universum.alfaSys = this;
     Name = i;
 }
Exemple #2
0
        public Starter(Universum u)
        {
            universum         = u;
            universum.program = this;

            mond    = new Planeten.Mond(universum, "ErdenMond");
            sonne   = new Planeten.Sonne(universum, "ErdenSonne");
            erde    = new GalaxyOne.Erde(universum, "Erde");
            alfaSys = new GalaxyOne.AlfaSys(universum, mond, sonne, erde, "AlfaSys");


            mondBeta    = new Planeten.Mond(universum, "BetaigeutzeMond");
            sonneBeta   = new Planeten.Sonne(universum, "BetaigeutzeSonne");
            betaigeutze = new GalaxyToo.Betaigeutze(universum, "Betaigeutze");
            betaSys     = new GalaxyToo.BetaSys(universum, mondBeta, sonneBeta, betaigeutze, "BetaSys");
        }