payloadRotation field (#6294)
This commit is contained in:
@@ -61,6 +61,7 @@ abstract class BuildingComp implements Posc, Teamc, Healthc, Buildingc, Timerc,
|
|||||||
transient boolean updateFlow;
|
transient boolean updateFlow;
|
||||||
transient byte cdump;
|
transient byte cdump;
|
||||||
transient int rotation;
|
transient int rotation;
|
||||||
|
transient float payloadRotation;
|
||||||
transient boolean enabled = true;
|
transient boolean enabled = true;
|
||||||
transient float enabledControlTime;
|
transient float enabledControlTime;
|
||||||
transient String lastAccessed;
|
transient String lastAccessed;
|
||||||
|
|||||||
@@ -80,6 +80,7 @@ public class BuildPayload implements Payload{
|
|||||||
@Override
|
@Override
|
||||||
public void set(float x, float y, float rotation){
|
public void set(float x, float y, float rotation){
|
||||||
build.set(x, y);
|
build.set(x, y);
|
||||||
|
build.payloadRotation = rotation;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user