Various tweaks
This commit is contained in:
@@ -10,7 +10,7 @@ import static mindustry.Vars.*;
|
||||
|
||||
public class EntityCollisions{
|
||||
//range for tile collision scanning
|
||||
private static final int r = 1;
|
||||
private static final int r = 2;
|
||||
//move in 1-unit chunks
|
||||
private static final float seg = 1f;
|
||||
|
||||
|
||||
@@ -57,7 +57,7 @@ public class EntityGroup<T extends Entityc> implements Iterable<T>{
|
||||
each(Entityc::update);
|
||||
}
|
||||
|
||||
public void copy(Seq arr){
|
||||
public void copy(Seq<T> arr){
|
||||
arr.addAll(array);
|
||||
}
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ import mindustry.gen.*;
|
||||
@Component
|
||||
abstract class MechComp implements Posc, Flyingc, Hitboxc, Unitc, Mechc, ElevationMovec{
|
||||
@SyncField(false) @SyncLocal float baseRotation;
|
||||
transient float walkTime;
|
||||
transient float walkTime, walkExtension;
|
||||
|
||||
@Override
|
||||
public void update(){
|
||||
|
||||
Reference in New Issue
Block a user