Duplicate region field removed and inlined.

This commit is contained in:
2023-04-29 12:33:21 -04:00
parent de38c8727a
commit e554171e22
16 changed files with 95 additions and 101 deletions
+1 -5
View File
@@ -60,7 +60,7 @@ public abstract class AbstractWorldObject extends AbstractGameObject {
protected GridObjectType gridObjectType;
protected float altitude = 0;
protected Regions region;
public Regions region;
protected boolean movingUp = false;
public Regions landingRegion = null;
public Vector3fImmutable lastLoc = Vector3fImmutable.ZERO;
@@ -608,10 +608,6 @@ public abstract class AbstractWorldObject extends AbstractGameObject {
return gridObjectType;
}
public Regions getRegion() {
return region;
}
public boolean isMovingUp() {
return movingUp;