Fixed some little problems with documenting.

This commit is contained in:
2019-02-25 23:42:27 -07:00
parent 2d1864bb87
commit 507fe4debd
4 changed files with 306 additions and 424 deletions

View File

@@ -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);

View File

@@ -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();