abstract class System
System for handling mechanics. Systems contain game logic that operates on entities with specific component types.
java.lang.Object > System
Field Summary
No fields documented.
Method Detail
System
public
public
System
()
Method System.
registerComponent
public
T>
registerComponent
(@Nonnull final Class super T> tClass, @Nonnull final Supplier supplier)
Method registerComponent.
- Parameters:
@Nonnull final Class super T>tClass@Nonnull final Suppliersupplier
registerResource
public
T>
registerResource
(@Nonnull final Class super T> tClass, @Nonnull final Supplier supplier)
Method registerResource.
- Parameters:
@Nonnull final Class super T>tClass@Nonnull final Suppliersupplier
getComponentRegistrations
public
>
getComponentRegistrations
()
Method getComponentRegistrations.
getResourceRegistrations
public
>
getResourceRegistrations
()
Method getResourceRegistrations.