Изменил(а) на 'MyFirstUniverse/src/com/company/universe/PlanetaryNebula.java'
This commit is contained in:
parent
98217560df
commit
f1eeacdf03
@ -1,25 +1,25 @@
|
|||||||
package com.company.universe;
|
package com.company.universe;
|
||||||
|
|
||||||
public class PlanetaryNebula {
|
public class PlanetaryNebula {
|
||||||
|
|
||||||
private String name;
|
private String name;
|
||||||
private long size;
|
private long size;
|
||||||
private long lifeDuration;
|
private long lifeDuration;
|
||||||
private long x, y , z;
|
private long x, y , z;
|
||||||
|
|
||||||
// public PlanetaryNebula(){
|
public PlanetaryNebula(){
|
||||||
// size = 0;
|
size = 0;
|
||||||
// lifeDuration = 0;
|
lifeDuration = 0;
|
||||||
// x = 0; y = 0; z=0;
|
x = 0; y = 0; z=0;
|
||||||
// }
|
}
|
||||||
|
|
||||||
public PlanetaryNebula(String name,long lifeDuration, long size, long x, long y, long z) {
|
public PlanetaryNebula(String name,long lifeDuration, long size, long x, long y, long z) {
|
||||||
this.name = name;
|
this.name = name;
|
||||||
this.lifeDuration = lifeDuration;
|
this.lifeDuration = lifeDuration;
|
||||||
this.size = size;
|
this.size = size;
|
||||||
this.x = x;
|
this.x = x;
|
||||||
this.y = y;
|
this.y = y;
|
||||||
this.z = z;
|
this.z = z;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user