@FreelanceGames I have a class (my paddle)that doesn't extend from game though, and needs to access the graphcs device
-
-
-
@DaveVoyles Why does the paddle need the graphics device? Seems like an odd thing to need there.
End of conversation
New conversation -
-
-
@DigitalDNAGames@DaveVoyles That works, and I do something similar, but I can't see why you'd need the graphics device in a Pong Paddle.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@FreelanceGames@digitaldnagames@DaveVoyles Agreed. I prefer dependency injection and IoC. But I get lazy on small projects. :) -
@Chounard@FreelanceGames@DigitalDNAGames@DaveVoyles the services and component features are one good example for instance
End of conversation
New conversation -
-
-
@FreelanceGames Have you looked at Ninject at all?@Cygon4 has some really good examples of using it with XNA. It's good stuff.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@FreelanceGames I never suggested that a Paddle should know how to draw itself. If you look back, I asked the same questions you did. :)Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@FreelanceGames@DigitalDNAGames@Chounard@DaveVoyles they have use in sep libs but agree IOC is a better approach, esp with interfacesThanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@FreelanceGames@Chounard@digitaldnagames Sorry, was asleep. I need ScreenManager (or really GraphicsDevice) to get SafeArea b/c of ...Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@FreelanceGames@Chounard@digitaldnagames where the paddles are being drawn on the Xbox. PC = fine, on Xbox everything is shifted to the...Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.