xobust / Project-Broban

ProjInda15 project
5 stars 2 forks source link

GraphicsDeviceManager not available in LoadContent #19

Closed xobust closed 8 years ago

xobust commented 8 years ago

GraphicsDeviceManager is needed to create textures. That is why it needs to be passed to all LoadContent methods

xobust commented 8 years ago

GraphicsDevice was needed not a GraphicsDeviceManager. GraphicsDevice is already avalibel as a singleton

xobust commented 8 years ago

Seems I was right from the start Device manager is avalible in the game baseclass

willwull commented 8 years ago

Wait, what's going on? I don't understand what this issue is trying to say.

macaullyjames commented 8 years ago

@xobust you're breaking your own CONTRIBUTING.md here 🚓 👮

xobust commented 8 years ago

RIP MAC FOUND ME.

macaullyjames commented 8 years ago

I'll always find you, no matter which issue tracker you're in 😉

xobust commented 8 years ago

:cry: Well I was tilt at the moment because nothing was working. Well the problem was the same as the one we had where we could not use content in out implementations of game interface. I had to use a object that was only avalibel in the game object so I changed the interface definition in a separate branch coresponding to this issue. After that I could work on the implementation of the player feature the way I wanted to.

macaullyjames commented 8 years ago

I just felt sorry for @willwull... "Wait, what's going on?" - merges code