public void addBankEntry(BankEntry entry) { if (entry.getAmount() < 0 || entry.getAmount() > 0) //omit 0 entries? { bankEntryList.Add(entry); } if (entry.getAmount() > highestAmountCollectedInAGame) { if (entry.isFromReward() == false) { highestAmountCollectedInAGame = entry.getAmount(); } } if (entry.getAmount() > 0) { totalMoneyEarned += entry.getAmount(); } balance += entry.getAmount(); }