From a531d883b8b1bbb30c225d576c5817ef808450ab Mon Sep 17 00:00:00 2001 From: 1pablo10 <115900617+1pablo10@users.noreply.github.com> Date: Mon, 7 Nov 2022 22:42:06 +0100 Subject: [PATCH] Delete Main.java --- Main.java | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 Main.java diff --git a/Main.java b/Main.java deleted file mode 100644 index 96db96e..0000000 --- a/Main.java +++ /dev/null @@ -1,32 +0,0 @@ -package company; - -import company.space.hmlovina; -import company.space.vesmir; -import company.vesminetelesa.*; - -import java.awt.desktop.SystemEventListener; - -public class Main { - public static void main(String[] args) { - vesmir mojprvyvesmir = new vesmir(); - mojprvyvesmir.startVesmir(); - hmlovina MiroSmajda = new hmlovina(); - hmlovina PetoCmorik = new hmlovina(); - hmlovina KatkaKnechtova = new hmlovina(); - Planeta X = new Planeta("X",5972200,12756); - X.setPlanetaryWeight(-2000000); - Hviezda Slnko = new Hviezda("Slnko",696340,4603); - Slnecna_sustava Solar = new Slnecna_sustava(); - Solar.addTeleso(X); - - Galaxia Mliecna_Cesta = new Galaxia(); - Mliecna_Cesta.addSustava(Solar); - Vesmirne_telesa Cierna_diera = new Vesmirne_telesa(); - - Mliecna_Cesta.addTeleso(Cierna_diera); - System.out.printf("Typ telesa: %s",Cierna_diera.getType()); - - Galaxia Hudak = new Galaxia(); - - } -} \ No newline at end of file