Add TODO about World taking in a GraphicsDevice

This commit is contained in:
Colin McMillen 2020-07-15 14:59:43 -04:00
parent 0f6424e4a1
commit 5a9b98455f

View File

@ -26,6 +26,7 @@ namespace SemiColinGames {
public readonly int Width; public readonly int Width;
public readonly int Height; public readonly int Height;
// TODO: it seems weird that World takes in a GraphicsDevice. Remove it?
public World(GraphicsDevice graphics, string json) { public World(GraphicsDevice graphics, string json) {
Camera = new Camera(); Camera = new Camera();
LinesOfSight = new LinesOfSight(graphics); LinesOfSight = new LinesOfSight(graphics);