Emissive planet system upgrades / Indexed vertices for planets
This commit is contained in:
@@ -97,12 +97,6 @@ public class Universe{
|
||||
}
|
||||
}
|
||||
|
||||
public void setSimulationSeconds(int seconds){
|
||||
this.seconds = seconds;
|
||||
|
||||
save();
|
||||
}
|
||||
|
||||
public void clearLoadoutInfo(){
|
||||
lastLoadout = null;
|
||||
lastLaunchResources = new ItemSeq();
|
||||
@@ -328,6 +322,13 @@ public class Universe{
|
||||
return net.client() ? netSeconds : seconds;
|
||||
}
|
||||
|
||||
public void setSeconds(float seconds){
|
||||
this.seconds = (int)seconds;
|
||||
this.secondCounter = seconds - this.seconds;
|
||||
|
||||
save();
|
||||
}
|
||||
|
||||
public float secondsf(){
|
||||
return seconds() + secondCounter;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user