Dieser Commit ist enthalten in:
Ursprung
21aa22d75f
Commit
ada8fefd62
@ -32,6 +32,10 @@ import java.io.IOException;
|
||||
public class SimulatorSaver {
|
||||
|
||||
public void saveSimulator(File directory, Simulator simulator) {
|
||||
if (!directory.exists()) {
|
||||
directory.mkdirs();
|
||||
}
|
||||
|
||||
YAPIONObject simulatorObject = new YAPIONObject();
|
||||
simulatorObject.add("material", simulator.getMaterial().name());
|
||||
simulatorObject.add("autoTrace", simulator.isAutoTrace());
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren