Schematic rotation
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package io.anuke.mindustry.game;
|
||||
|
||||
import io.anuke.arc.collection.*;
|
||||
import io.anuke.arc.files.*;
|
||||
import io.anuke.arc.util.ArcAnnotate.*;
|
||||
import io.anuke.mindustry.world.*;
|
||||
|
||||
@@ -9,6 +10,7 @@ public class Schematic{
|
||||
public StringMap tags;
|
||||
public int width, height;
|
||||
public boolean workshop;
|
||||
public @Nullable FileHandle file;
|
||||
|
||||
public Schematic(Array<Stile> tiles, StringMap tags, int width, int height){
|
||||
this.tiles = tiles;
|
||||
|
||||
@@ -244,6 +244,7 @@ public class Schematics implements Loadable{
|
||||
if(!s.tags.containsKey("name")){
|
||||
s.tags.put("name", file.nameWithoutExtension());
|
||||
}
|
||||
s.file = file;
|
||||
return s;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user