private void DrawPlayers(RenderTarget window, int left, int top, int width, int height) { foreach (var player in ServiceLocator.WorldManager.PlayerManager.GetPlayers()) { if (player.Position.X < left || player.Position.X > (left + width)) continue; if (player.Position.Y < top || player.Position.Y > (top + height)) continue; player.Draw(window); } }