Class ProceduralGenerationWindow

java.lang.Object
com.badlogic.gdx.scenes.scene2d.Actor
com.badlogic.gdx.scenes.scene2d.Group
com.badlogic.gdx.scenes.scene2d.ui.WidgetGroup
com.badlogic.gdx.scenes.scene2d.ui.Table
All Implemented Interfaces:
com.badlogic.gdx.scenes.scene2d.utils.Cullable, com.badlogic.gdx.scenes.scene2d.utils.Layout, IObserver

public class ProceduralGenerationWindow extends GenericDialog implements IObserver
  • Constructor Details

    • ProceduralGenerationWindow

      public ProceduralGenerationWindow(FocusView target, com.badlogic.gdx.scenes.scene2d.Stage stage, com.badlogic.gdx.scenes.scene2d.ui.Skin skin)
  • Method Details

    • rebuild

      protected void rebuild()
    • build

      protected void build()
      Description copied from class: GenericDialog
      Build the content here.
      Specified by:
      build in class GenericDialog
    • randomizeSurface

      protected Boolean randomizeSurface(Boolean rebuild)
    • randomizeSurfaceGasGiant

      protected Boolean randomizeSurfaceGasGiant(Boolean rebuild)
    • randomizeSurfaceEarthLike

      protected Boolean randomizeSurfaceEarthLike(Boolean rebuild)
    • randomizeSurfaceColdPlanet

      protected Boolean randomizeSurfaceColdPlanet(Boolean rebuild)
    • randomizeSurfaceRockyPlanet

      protected Boolean randomizeSurfaceRockyPlanet(Boolean rebuild)
    • randomizeClouds

      protected Boolean randomizeClouds(Boolean rebuild)
    • randomizeAtmosphere

      protected Boolean randomizeAtmosphere(Boolean rebuild)
    • randomizeAll

      protected void randomizeAll()
    • generateSurface

      protected Boolean generateSurface(Boolean ignored)
    • generateSurfaceDirect

      protected void generateSurfaceDirect()
    • generateClouds

      protected Boolean generateClouds(Boolean ignored)
    • generateCloudsDirect

      protected void generateCloudsDirect()
    • generateAtmosphere

      protected Boolean generateAtmosphere(Boolean ignored)
    • generateAtmosphereDirect

      protected void generateAtmosphereDirect()
    • generateAll

      protected void generateAll()
    • accept

      protected boolean accept()
      Description copied from class: GenericDialog
      The accept function, if any.
      Specified by:
      accept in class GenericDialog
      Returns:
      True if the dialog must close after the call, false otherwise.
    • cancel

      protected void cancel()
      Description copied from class: GenericDialog
      The cancel function, if any.
      Specified by:
      cancel in class GenericDialog
    • enableComponents

      protected void enableComponents(boolean enabled, com.badlogic.gdx.scenes.scene2d.utils.Disableable... components)
      Sets the enabled property on the given components
      Overrides:
      enableComponents in class GenericDialog
      Parameters:
      enabled - The state to set.
      components - The components to enable or disable.
    • dispose

      public void dispose()
      Specified by:
      dispose in class GenericDialog
    • setKeyboardFocus

      public void setKeyboardFocus()
      Description copied from class: GenericDialog
      Sets the keyboard focus, override in case you want to set the focus to a specific item.
      Overrides:
      setKeyboardFocus in class GenericDialog
    • notify

      public void notify(Event event, Object source, Object... data)
      Description copied from interface: IObserver
      Event notification call.
      Specified by:
      notify in interface IObserver
      Parameters:
      event - The event type.
      source - The source object, if any.
      data - The data associated with this event.