Class ServiceLocator

java.lang.Object
com.deco2800.game.services.ServiceLocator

public class ServiceLocator
extends java.lang.Object
A simplified implementation of the Service Locator pattern: https://martinfowler.com/articles/injection.html#UsingAServiceLocator

Allows global access to a few core game services. Warning: global access is a trap and should be used extremely sparingly. Read the README for details.