From 507fe4debd1ebc042069f76f4f019ac419da4dc9 Mon Sep 17 00:00:00 2001 From: Solargale Date: Mon, 25 Feb 2019 23:42:27 -0700 Subject: [PATCH] Fixed some little problems with documenting. --- .idea/misc.xml | 8 +- .idea/workspace.xml | 717 ++++++++++++++++++-------------------------- src/Travel.java | 4 +- src/main.java | 1 + 4 files changed, 306 insertions(+), 424 deletions(-) diff --git a/.idea/misc.xml b/.idea/misc.xml index 479cb83..29ec0d7 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -1,9 +1,15 @@ + + - + diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 5583f47..f922662 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -1,47 +1,69 @@ - + + - + + + - - - - - + - - - + + + - + - - - - - $USER_HOME$/.subversion + C:\Users\Harkamal Randhawa\AppData\Roaming\Subversion 125 @@ -300,194 +267,104 @@ - - - + - + @@ -495,29 +372,61 @@ - - + + - + - - - - + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + JAVA + ShipWarfare + + ShipWarfare + Player + + + + + + + Project Files + private - - - - + + + + JAVA + TaipanShop + + TaipanShop + Player + + + + + + + All + private - + + - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -739,7 +603,7 @@ - 1.8.0_201 + 1.8 + + + + + + + \ No newline at end of file diff --git a/src/Travel.java b/src/Travel.java index 4ae62b6..c1bbe6a 100644 --- a/src/Travel.java +++ b/src/Travel.java @@ -124,7 +124,7 @@ public class Travel { /** * To use the peasant 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 peasantFleet() throws Exception { ShipWarfare attackShip = new ShipWarfare(player); @@ -135,7 +135,7 @@ public class Travel { /** * 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); diff --git a/src/main.java b/src/main.java index e297598..f763471 100644 --- a/src/main.java +++ b/src/main.java @@ -40,6 +40,7 @@ public class main { /** * Updates main class with player data and starts the game. * The game will only run as long as the player has not retired or has been destroyed. + * @param args Just the console for the player to look at. */ public static void main(String[] args) { main main = new main();