degrand1/Manly-Mini-Games — comment on commit 8ad516bbee97daf439868f471ba1b9c168cf3964
File: totalProject/manlyMiniGames/Game1.cs line 24
By degrand1:

The camera is implemented through the map class via the the screenToWorld and worldToScreen functions. Any sprite that gets drawn has to pass through the map's draw function so that its position coordinates can be set appropriately. It may have been more intuitive to have a separate camera class, but the logic here is that all objects are drawn onto the map.