Class Services
java.lang.Object
io.github.gameking1happy.gk1hcore.platform.Services
Loads services, allowing platform-specific code to be called in common.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AddPackstatic final IPlatformHelperstatic final RegisterPacks -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
PLATFORM
- See Also:
-
ADDPACK
- See Also:
-
REGISTERPACKS
- See Also:
-
-
Constructor Details
-
Services
public Services()
-
-
Method Details
-
load
This code is used to load a service for the current environment.- Type Parameters:
T- The specific class type.- Parameters:
clazz- The class as theClasstype.- Returns:
- The specific class type.
-