Package gaiasky.util

Class Settings.PerformanceSettings

java.lang.Object
gaiasky.util.SettingsObject
gaiasky.util.Settings.PerformanceSettings
All Implemented Interfaces:
com.badlogic.gdx.utils.Disposable, Cloneable
Enclosing class:
Settings

public static class Settings.PerformanceSettings extends SettingsObject
  • Field Details

    • multithreading

      public boolean multithreading
    • numberThreads

      public int numberThreads
  • Constructor Details

    • PerformanceSettings

      public PerformanceSettings()
  • Method Details

    • getNumberOfThreads

      public int getNumberOfThreads()
      Returns the actual number of threads. It accounts for the number of threads being 0 or less, "let the program decide" option, in which case the number of logical processors is returned.
      Returns:
      The number of threads.
    • clone

      Overrides:
      clone in class SettingsObject
    • setParentRecursive

      protected void setParentRecursive(SettingsObject s)
      Specified by:
      setParentRecursive in class SettingsObject
    • setupListeners

      protected void setupListeners()
      Specified by:
      setupListeners in class SettingsObject
    • dispose

      public void dispose()
    • apply

      public void apply()