public static void play(final Resource clip) { queue( new Runnable() { public void run() { if (clip.loading) queue.add(this); else playres(clip); } }); }
public static void play(final Indir<Resource> clip) { queue( new Runnable() { public void run() { Resource r = clip.get(); if (r == null) queue.add(this); else playres(r); } }); }