diff --git a/src/Travel.java b/src/Travel.java index c1bbe6a..73035ec 100644 --- a/src/Travel.java +++ b/src/Travel.java @@ -82,12 +82,10 @@ public class Travel { **/ private void randomEventSea(int locationOfTravel) throws Exception { Random rand = new Random(); - int randGenNum = rand.nextInt(4) + 1; + int randGenNum = rand.nextInt(3) + 1; if (randGenNum == 1) { peasantFleet(); - }else if (randGenNum == 2){ - littyFleet(); - }else if (randGenNum == 3) { + }else if (randGenNum == 2) { disaster(locationOfTravel); System.out.println("We made it!"); } @@ -132,17 +130,6 @@ public class Travel { player = attackShip.getPlayer(); } - /** - * To use the litty fleet class while still maintaining encapsulation we have to create a ShipWarefare object and - * run the method from there. After the method has been run we can update the player object in this class. - * @throws Exception throws Exception so that we can use the time library to make the player if we want to. - **/ - public void littyFleet() throws Exception { - ShipWarfare attackShip = new ShipWarfare(player); - attackShip.littyFleetAttack(); - player = attackShip.getPlayer(); - } - /** *Used to travel between different areas inside of the game world. * If the player's inventory is too full it won't run.