Example #1
0
    public void AddShip()
    {
        // Create new ship
        Ship ship = new Ship();

        ship.shipID = nextShipId;
        nextShipId++;

        // Create Entry
        CreateShipEntry(ship);

        // Add ship to map
        mapController.AddShip(ship);
    }