Skip to content

Commit

Permalink
refactor: component field visibility public
Browse files Browse the repository at this point in the history
  • Loading branch information
jdrueckert authored and soloturn committed Dec 13, 2023
1 parent 7cc5cfc commit 7ee580f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ public void setConfiguration(Component configuration) {
this.configuration = (SimplexHillsAndMountainsProviderConfiguration) configuration;
}

private static class SimplexHillsAndMountainsProviderConfiguration implements Component<SimplexHillsAndMountainsProviderConfiguration> {
public static class SimplexHillsAndMountainsProviderConfiguration implements Component<SimplexHillsAndMountainsProviderConfiguration> {

@Range(min = 0, max = 3f, increment = 0.01f, precision = 2, description = "Mountain Amplitude")
public float mountainAmplitude = 1f;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public void setConfiguration(Component configuration) {
setSeed(seed);
}

private static class Configuration implements Component<Configuration> {
public static class Configuration implements Component<Configuration> {
@Range(label = "River width", min = 1, max = 64f, increment = 1f, precision = 0, description = "Average river width (approximate)")
public float riverWidth = 10;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ public void setConfiguration(Component configuration) {
this.configuration = (Configuration) configuration;
}

private static class Configuration implements Component<Configuration> {
public static class Configuration implements Component<Configuration> {
@Override
public void copyFrom(Configuration other) {

Expand Down

0 comments on commit 7ee580f

Please sign in to comment.