java.lang.Object
io.github.gameking1happy.gk1hcore.platform.Services

public class Services extends Object
Loads services, allowing platform-specific code to be called in common.
  • Field Details

  • Constructor Details

    • Services

      public Services()
  • Method Details

    • load

      public static <T> T load(Class<T> clazz)
      This code is used to load a service for the current environment.
      Type Parameters:
      T - The specific class type.
      Parameters:
      clazz - The class as the Class type.
      Returns:
      The specific class type.