endBatch method
void
endBatch()
Like alien.endBatch(), but runs this class's flush, so an effect
that throws does not drop the effects queued after it.
Implementation
void endBatch() {
if (--alien.batchDepth == 0) flush();
}