public void draw(Graphics2D g2d, int[] screen, View helper) {
    float scale = (float)(screen[1]/500.0*size/32.0);                               // Scale the bullet shape
    g2d.translate(position[0]/500*screen[1],position[1]/500*screen[1]);             // Translate to the position of the bullet.
    g2d.rotate(angle);                                                              // Rotate!
    int bullet[][] = {{0,1,1,-1,-1},{2,1,-2,-2,1}};                                  // Bullet shape.
    helper.drawPolygon(g2d,bullet,scale,new Color(0,0,0), new Color((friendly)?0:255,0,(friendly)?255:0));  // Draw it.
    g2d.rotate(-angle);                                                         // Rotate!
    g2d.translate(-(position[0]/500*screen[1]),-(position[1]/500*screen[1]));       // Translate back to original position.
  }