Bullet getLineBullet(int index, Bullet defaultBullet) { if (lines == null) return defaultBullet; LineInfo info = lines[index]; if (info != null && (info.flags & BULLET) != 0) { return info.bullet;
Bullet getLineBullet (int index, Bullet defaultBullet) { if (bullets == null) return defaultBullet; if (bulletsIndices != null) return defaultBullet; for (int i = 0; i < bullets.length; i++) { Bullet bullet = bullets[i]; if (bullet.indexOf(index) != -1) return bullet;
Bullet getLineBullet(int index, Bullet defaultBullet) {	if (lines == null) return defaultBullet;	LineInfo info = lines[index];	if (info != null && (info.flags & BULLET) != 0) {		return info.bullet;	}	return defaultBullet;}