public BasicShip(BasicShip bs, Vecteur2D dec) : this(dec, bs.live, bs.img,bs.speedMisile) { }
public void addLine(int width, int nbShips,BasicShip bs) { if (bs == null) { return; } int positionYToDaw= s.Height ; int toutLes = width / nbShips; for (int i = 0; i < nbShips; i++) { listSpaceship.Add(new BasicShip(bs , new IndirectVecteur2D(this.position,i*toutLes,positionYToDaw))); } s.Height += 20 + bs.img.Height; if (s.Width < width) s.Width= width; }