/** Removes the hoe owned from the player's inventory */ public void removeHoe() { Sys.print("You have lost your " + hoe.getName() + "!"); hoe = null; }
/** * Adds a specified hoe to the player's inventory * * @param h - Specified hoe */ public void addHoe(Hoe h) { Sys.print("You have obtained a " + h.getName() + "!"); hoe = h; }