You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Consider implementing a service, service provider, and service locator class.
Right now, game entities occasionally refer to the window and mouse for performing logic. The EntityManager is providing these references upon entity creation. Perhaps the service pattern may help decoupling.
Consider implementing a service, service provider, and service locator class.
Right now, game entities occasionally refer to the window and mouse for performing logic. The
EntityManager
is providing these references upon entity creation. Perhaps the service pattern may help decoupling.Refer to http://gameprogrammingpatterns.com/service-locator.html for further information regarding the service pattern.
The text was updated successfully, but these errors were encountered: