initial commit
This commit is contained in:
parent
3c9ee26b06
commit
22186c33b9
1458 changed files with 282792 additions and 0 deletions
19
java/src/game/dimension/Moon.java
Executable file
19
java/src/game/dimension/Moon.java
Executable file
|
@ -0,0 +1,19 @@
|
|||
package game.dimension;
|
||||
|
||||
public final class Moon extends Dimension {
|
||||
Moon(int id, String name) {
|
||||
super(id, name);
|
||||
}
|
||||
|
||||
public Moon(int id, String name, int sky, int fog, long orbit, long rotation, float gravity, float temperature, int brightness) {
|
||||
super(id, name);
|
||||
this.setPhysics(orbit, rotation, 0.0f, gravity, temperature, brightness);
|
||||
this.setTimeQualifier(7);
|
||||
this.setStarBrightness(0.75f).setDeepStarBrightness(0.75f);
|
||||
this.setSkyColor(sky).setFogColor(fog);
|
||||
}
|
||||
|
||||
public final DimType getType() {
|
||||
return DimType.MOON;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue