public void AddTestCaptain(Location location, IFitInSocket captain, string captainnaam) { IFitInSocket canon = new TestCanon(new List <ICoordinate>() { new Coordinate(1, 1) }); BattleShip albatros = new TestShip(captainnaam, location, captain, canon); TheSea.AcceptShip(albatros); }
public void AddDeVliegendeHollander(Location location) { IFitInSocket captain = new TestCaptain(1, Direction.Noord); IFitInSocket canon = new TestCanon(new List <ICoordinate>() { new Coordinate(1, 1) }); BattleShip albatros = new TestShip("De Vliegende Hollander", location, captain, canon); TheSea.AcceptShip(albatros); }
public void AddSallySinke(Location location) { IFitInSocket captainNormal = new TestCaptain(2, Direction.West); IFitInSocket canon = new TestCanon(new List <ICoordinate>() { new Coordinate(1, 1) }); BattleShip albatros = new TestShip("Sally Sinke", location, captainNormal, canon); TheSea.AcceptShip(albatros); }
public void AddAlbatros(Location location) { IFitInSocket captainQuick = new TestCaptain(1, Direction.West); IFitInSocket canon = new TestCanon(new List <ICoordinate>() { new Coordinate(1, 1) }); BattleShip albatros = new TestShip("Albatros", location, captainQuick, captainQuick, captainQuick, captainQuick, captainQuick); TheSea.AcceptShip(albatros); }
public void AddDeEendracht(Location location) { TestCaptain captainCircle = new TestCaptain(1, Direction.Oost); captainCircle.EnableCircles(); IFitInSocket canon = new TestCanon(new List <ICoordinate>() { new Coordinate(14, 1) }); BattleShip albatros = new TestShip("De Eendracht", location, captainCircle, canon); TheSea.AcceptShip(albatros); }