XNA 2D/3D Drawing method?

Posted by Adir on Stack Overflow See other posts from Stack Overflow or by Adir
Published on 2010-04-02T13:29:17Z Indexed on 2010/04/02 13:33 UTC
Read the original article Hit count: 179

Filed under:
|
|

What would be a better parctice, writing the drawing method inside the GameObject class or in the Game class?

GameObject obj = new GameObject();
obj.Draw();

Or

GameObject obj = new GameObject();
DrawGameObject(obj);

© Stack Overflow or respective owner

Related posts about XNA

Related posts about drawing