public void drawElement(Graphics g, Drawable d) {
		if (d instanceof Base) {
			Base b = (Base) d;
			g.drawLine(b.getGunIX(), b.getGunIY(), b.getGunCX(), b.getGunCY());
			g.drawRect(b.getBX(), b.getBY(), b.getWidth(), b.getHeight());
		}

		if (d instanceof Explosion) {
			Explosion e = (Explosion) d;
			g.fillOval(e.getX() - e.getR() / 2, e.getY() - e.getR() / 2,
					e.getR(), e.getR());
		}

		if (d instanceof Missile) {
			Missile m = (Missile) d;
			g.drawLine(m.getIX(), m.getIY(), m.getX(), m.getY());
		}

		if (d instanceof City) {
			City c = (City) d;
			g.drawRect(c.getX(), c.getY(), c.getWidth(), c.getHeight());
		}
	}