Interface IPlatformHelper

All Known Implementing Classes:
FabricPlatformHelper

public interface IPlatformHelper
The PlatformHelper provides useful context and information about the platform the game is running on.
  • Method Summary

    Modifier and Type
    Method
    Description
    default File
    Gets the specified configuration directory as a file reference.
    Gets the specified configuration path for the game.
    Gets the name of the platform.
  • Method Details

    • getConfigPath

      Path getConfigPath()
      Gets the specified configuration path for the game.
      Returns:
      The specified configuration path for the game.
    • getConfigDirectory

      default File getConfigDirectory()
      Gets the specified configuration directory as a file reference.
      Returns:
      The specified configuration path for the game.
    • getName

      String getName()
      Gets the name of the platform.
      Returns:
      The name of the platform.