deprecation annihilation
This commit is contained in:
@@ -75,10 +75,6 @@ abstract class BuildingComp implements Posc, Teamc, Healthc, Buildingc, Timerc,
|
||||
@Nullable ItemModule items;
|
||||
@Nullable LiquidModule liquids;
|
||||
|
||||
/** @deprecated use building methods instead, this is just a proxy! */
|
||||
@Deprecated
|
||||
ConsumeModule cons = new ConsumeModule(self());
|
||||
|
||||
public transient float healSuppressionTime = -1f;
|
||||
public transient float lastHealTime = -120f * 10f;
|
||||
|
||||
|
||||
@@ -77,7 +77,7 @@ abstract class UnitComp implements Healthc, Physicsc, Hitboxc, Statusc, Teamc, I
|
||||
}
|
||||
|
||||
public void approach(Vec2 vector){
|
||||
vel.approachDelta(vector, type.accel * realSpeed());
|
||||
vel.approachDelta(vector, type.accel * speed());
|
||||
}
|
||||
|
||||
public void rotateMove(Vec2 vec){
|
||||
@@ -124,12 +124,6 @@ abstract class UnitComp implements Healthc, Physicsc, Hitboxc, Statusc, Teamc, I
|
||||
return (isCommanding() ? minFormationSpeed * 0.98f : type.speed) * strafePenalty * boost * floorSpeedMultiplier();
|
||||
}
|
||||
|
||||
/** @deprecated use speed() instead */
|
||||
@Deprecated
|
||||
public float realSpeed(){
|
||||
return speed();
|
||||
}
|
||||
|
||||
/** Iterates through this unit and everything it is controlling. */
|
||||
public void eachGroup(Cons<Unit> cons){
|
||||
cons.get(self());
|
||||
|
||||
Reference in New Issue
Block a user