Added Javadoc comments

This commit is contained in:
Nathan Lum
2019-02-25 21:12:33 -07:00
committed by GitHub
parent 697c221323
commit 55e1ae2d5f

View File

@@ -6,7 +6,7 @@ public class Start
/**
* getter method for obtaining a player object.
*
* @return returns player object
* @return returns object of the class Player
*/
public Player getPlayer() {
Player playerTemp = new Player(player);
@@ -16,7 +16,7 @@ public class Start
/**
* setter method that takes in a Player object as an argument.
*
* @param player object of the class Player
* @param player returns object of the class Player
*/
public void setPlayer(Player player) {
Player playerTemp = new Player(player);