Cleanup
This commit is contained in:
@@ -343,7 +343,6 @@ public class World{
|
||||
dark = Math.max((edgeBlend - edgeDst) * (4f / edgeBlend), dark);
|
||||
}
|
||||
|
||||
//TODO tweak noise and radius
|
||||
if(state.hasSector()){
|
||||
int circleBlend = 14;
|
||||
//quantized angle
|
||||
|
||||
@@ -21,7 +21,6 @@ import mindustry.game.EventType.*;
|
||||
import mindustry.gen.*;
|
||||
import mindustry.graphics.*;
|
||||
import mindustry.graphics.MultiPacker.*;
|
||||
import mindustry.plugin.*;
|
||||
import mindustry.type.*;
|
||||
import mindustry.ui.*;
|
||||
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
package mindustry.plugin;
|
||||
|
||||
import mindustry.mod.*;
|
||||
package mindustry.mod;
|
||||
|
||||
/** Defines a special type of mod that is always hidden. */
|
||||
public abstract class Plugin extends Mod{
|
||||
@@ -55,6 +55,8 @@ public class Planet extends UnlockableContent{
|
||||
public @NonNull Planet solarSystem;
|
||||
/** All planets orbiting this one, in ascending order of radius. */
|
||||
public Array<Planet> children = new Array<>();
|
||||
/** Sattelites orbiting this planet. */
|
||||
public Array<Satellite> satellites = new Array<>();
|
||||
/** Loads the mesh. Clientside only. Defaults to a boring sphere mesh. */
|
||||
protected Prov<PlanetMesh> meshLoader = () -> new SunMesh(this, 2);
|
||||
|
||||
|
||||
12
core/src/mindustry/type/Satellite.java
Normal file
12
core/src/mindustry/type/Satellite.java
Normal file
@@ -0,0 +1,12 @@
|
||||
package mindustry.type;
|
||||
|
||||
import arc.util.ArcAnnotate.*;
|
||||
|
||||
/** Any object that is orbiting a planet. */
|
||||
public class Satellite{
|
||||
public @NonNull Planet planet;
|
||||
|
||||
public Satellite(@NonNull Planet orbiting){
|
||||
this.planet = orbiting;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user