Add config to FoundryOverlay3D

This commit is contained in:
Patrick
2022-06-23 19:02:21 +04:00
parent b3c2966365
commit 1a30693d0f

View File

@@ -34,14 +34,17 @@ public class FoundryOverlay3D extends Overlay {
private final Client client;
private final EasyGiantsFoundryState state;
private final EasyGiantsFoundryHelper helper;
private final EasyGiantsFoundryConfig config;
@Inject
private FoundryOverlay3D(Client client, EasyGiantsFoundryState state, EasyGiantsFoundryHelper helper)
private FoundryOverlay3D(Client client, EasyGiantsFoundryState state, EasyGiantsFoundryHelper helper,
EasyGiantsFoundryConfig config)
{
setPosition(OverlayPosition.DYNAMIC);
this.client = client;
this.state = state;
this.helper = helper;
this.config = config;
}
private Color getObjectColor(Stage stage, Heat heat)