public LivingGlyph nextGlyph(CollisionDetector detector, ListenerSet glyphListeners) {
GlyphType glyphType = GlyphType.ALL_LIVING[random.nextInt(GlyphType.ALL_LIVING.length)];
Logger.debug(this, "Creating next glyph, glyph type is " + glyphType);
LivingGlyph glyph = new LivingGlyph(glyphType, detector, CenterCalculator.forWidth(width));
glyph.addListeners(glyphListeners);
return glyph;
}
public Junk createJunk(ListenerSet glyphListeners) {
Junk junk = new Junk(width, this.height);