//updates the logDisplay component with logs and max amount of logs that can be carried public void updateUILogs() { logDisplay.updateCount(logs, logsMax); fruitDisplay.updateCount(fruits, fruitsMax); }