import java.awt.*; import javax.swing.*; //描画用パネル public class TimerAnimationPanel extends JPanel { //Eclipseの場合、シリアライズ可能クラスでこれがないと警告が出る private static final long serialVersionUID=0; //弾丸はパネルで保持 TimerAnimationBullet[] bullets; // public TimerAnimationPanel(TimerAnimationBullet[] bull){ bullets=bull; } //描画は各弾丸に任せる public void paintComponent(Graphics g){ super.paintComponent(g); // for(int b=0;b