diff --git a/MyFirstUniverse/src/com/company/universe/PlanetaryNebula.java b/MyFirstUniverse/src/com/company/universe/PlanetaryNebula.java index 265368e..41e7956 100644 --- a/MyFirstUniverse/src/com/company/universe/PlanetaryNebula.java +++ b/MyFirstUniverse/src/com/company/universe/PlanetaryNebula.java @@ -1,25 +1,25 @@ -package com.company.universe; - -public class PlanetaryNebula { - - private String name; - private long size; - private long lifeDuration; - private long x, y , z; - -// public PlanetaryNebula(){ -// size = 0; -// lifeDuration = 0; -// x = 0; y = 0; z=0; -// } - - public PlanetaryNebula(String name,long lifeDuration, long size, long x, long y, long z) { - this.name = name; - this.lifeDuration = lifeDuration; - this.size = size; - this.x = x; - this.y = y; - this.z = z; - } -} - +package com.company.universe; + +public class PlanetaryNebula { + + private String name; + private long size; + private long lifeDuration; + private long x, y , z; + + public PlanetaryNebula(){ + size = 0; + lifeDuration = 0; + x = 0; y = 0; z=0; + } + + public PlanetaryNebula(String name,long lifeDuration, long size, long x, long y, long z) { + this.name = name; + this.lifeDuration = lifeDuration; + this.size = size; + this.x = x; + this.y = y; + this.z = z; + } +} +