I have a method that checks through a list of items and returns the item if the conditions in the method are met. The problem is that sometimes I have more than one item that needs to be returned to be drawn on the screen. So if I have 2 or 3 items that need to be drawn, only the first one is. This may be a problem with my draw code but I'm not sure yet.
foreach(Item i in List)
{
if conditions are met
{
return i
Is there a way to check for more than one item being returned in this method?