internal static float GetNextEmptyRow(this GameContext context, Vector2 position) { position.y -= 1; while (position.y >= 0 && context.GetEntitiesWithPosition(position) .Slinq() .Where(e => e.isReomve) .ToList() .Count == 0) { position.y -= 1; } return(position.y + 1); }