From 2bc96e5d07abd9c0d66c43f744512d9367cd9e5d Mon Sep 17 00:00:00 2001 From: Vikram Date: Tue, 19 Mar 2019 17:14:42 -0600 Subject: [PATCH] made everything use inheritance instead of whatever we were doing before. --- .idea/workspace.xml | 238 ++++++++++++++++++++++++---------------- src/BankGUI.java | 61 ++++------ src/GameEndGUI.java | 19 ++-- src/LoanSharkGUI.java | 87 ++++++--------- src/MainGUI.java | 26 +---- src/Player.java | 34 ++---- src/ShipWarfareGUI.java | 80 +++++--------- src/StartGUI.java | 64 ++++------- src/TaipanShopGUI.java | 205 +++++++++++++++------------------- src/TravelGUI.java | 128 +++++++++++---------- src/WarehouseGUI.java | 102 +++++++---------- 11 files changed, 459 insertions(+), 585 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 5152d4d..39cbc33 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -3,6 +3,13 @@ + + + + + + + @@ -17,54 +24,14 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - - + + @@ -73,8 +40,17 @@ - - + + + + + + + + + + + @@ -82,8 +58,20 @@ - - + + + + + + + + + + + + + + @@ -92,10 +80,38 @@ - + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -111,8 +127,6 @@ - destr - destro hitco game numOf @@ -141,6 +155,8 @@ warehouse warehouse\n run + player. + GUI() HP @@ -149,10 +165,10 @@ shipWarfare.getHowMuchRun() shipWarfare.isUserAttacks() shipWarfare.getNumOfPeasantShips() + GUI(getPlayer()) - @@ -167,9 +183,13 @@ @@ -185,7 +205,7 @@ - + @@ -202,14 +222,14 @@