Menu

Render and Draw

2010-04-18
2013-04-24
  • Joël Langlois

    Joël Langlois - 2010-04-18

    The methods Render() _and _Draw() seemingly do the same, or similar, things and feel ambiguous since they both "draw" onto the screen.

    I suggest combining them into one method and use "#region+#endregion" to organize.

     
  • Joël Langlois

    Joël Langlois - 2010-04-18

    Also note that doing this would simplify passing a general SpriteBatch throughout every drawable object's Draw() param within your library.

     

Log in to post a comment.

MongoDB Logo MongoDB