payloadRotation field (#6294)

This commit is contained in:
Matthew Peng
2021-11-03 10:34:42 -07:00
committed by GitHub
parent 3574b982ab
commit 996193ea69
2 changed files with 2 additions and 0 deletions

View File

@@ -61,6 +61,7 @@ abstract class BuildingComp implements Posc, Teamc, Healthc, Buildingc, Timerc,
transient boolean updateFlow;
transient byte cdump;
transient int rotation;
transient float payloadRotation;
transient boolean enabled = true;
transient float enabledControlTime;
transient String lastAccessed;

View File

@@ -80,6 +80,7 @@ public class BuildPayload implements Payload{
@Override
public void set(float x, float y, float rotation){
build.set(x, y);
build.payloadRotation = rotation;
}
@Override