Fixed up last of the bug fixes, this should be it up until the interactive demo

This commit is contained in:
2019-04-12 04:45:31 -06:00
parent f89c1aa209
commit 8222cdaecb
9 changed files with 95 additions and 70 deletions

View File

@@ -2,6 +2,17 @@ package logic;
public class GameEndLogic extends Player{
/**
* Class Constructor that takes in a type player as a parameter
*
* @param player object of the class Player
*/
public GameEndLogic(Player player) {
Player playerDummy = new Player(player);
setPlayer(playerDummy);
}
/**
* Calculates the networth of the player by the end of the game.
* Calculation is based off the total guns and items bought throughout the game