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

IDrawable.Draw(GameTime gt) to Draw(GameTime gt, SpriteBatch sb)?

$
0
0

@J_Mor wrote:

Hi, I've been poking around MonoGame over the summer, and recently came across the IGameComponent interface. I want to try implementing this, along with IUpdatable and IDrawable in my 2D game, but I have no idea how to pass in the SpriteBatch to the GameComponents like I've always done. Any ideas/workarounds/suggestions?

Posts: 4

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 6821

Trending Articles