Quantcast
Channel: Community | MonoGame - Latest topics
Viewing all articles
Browse latest Browse all 6821

Dependency injection in MonoGame

$
0
0

@coby wrote:

Hi,

I've been looking around a little and can't find any posts discussing any best practices for dependency injection in MonoGame. I would like to avoid passing arounds rarely loaded objects like the player, I have looked at this approach using autofac:
http://bendetat.com/adding-dependency-injection-to-a-monogame-application.html

Can anyone recommend any other method for creating injectable singletons in your monogame project?

BR,
Robert

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 6821

Trending Articles