gewel.draw.all_wait_for
- gewel.draw.all_wait_for(waiters: Iterable[gewel.draw.Drawable], waited_on: gewel.draw.Drawable) None[source]
Have a group of
Drawableobjects wait on a singleDrawable. This is mostly just used as a syntactic shortcut for cases where we want to synchronize a collection ofDrawableobjects so that they don’t take their next action until some singleDrawablehas completed it’s current action. The callall_wait_for([d1, d2, d3], d0)
is equivalent to
for d in [d1, d2, d3]: d.wait_for(d0)