Added conveyor autotiling / Fixed autotile update bug

This commit is contained in:
Anuken
2018-07-15 22:33:14 -04:00
parent 6a7ff13859
commit d552f37daf
54 changed files with 556 additions and 280 deletions

View File

@@ -665,9 +665,7 @@ public class Player extends Unit implements BuilderTrait, CarryTrait, ShooterTra
team = (team == Team.blue ? Team.red : Team.blue);
}
/**
* Resets all values of the player.
*/
/** Resets all values of the player.*/
public void reset(){
status.clear();
team = Team.blue;

View File

@@ -38,9 +38,7 @@ import static io.anuke.mindustry.Vars.world;
public class TileEntity extends BaseEntity implements TargetTrait{
public static final float timeToSleep = 60f * 4; //4 seconds to fall asleep
private static final ObjectSet<Tile> tmpTiles = new ObjectSet<>();
/**
* This value is only used for debugging.
*/
/**This value is only used for debugging.*/
public static int sleepingEntities = 0;
public Tile tile;
public Timer timer;