Fixed some little problems with documenting.
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user