private void DrawNpcs(RenderTarget window, int left, int top, int width, int height) { foreach (var npc in this._mapNpcs) { if (npc.X < left || npc.X > (left + width)) continue; if (npc.Y < top || npc.Y > (top + height)) continue; npc.Draw(window); } }