Quick switcharoo

This commit is contained in:
Logen Kain 2021-02-13 11:20:54 -05:00
parent a0eabce325
commit db1c656ef5

View File

@ -2,7 +2,11 @@ import java.util.ArrayList;
import java.util.Scanner; import java.util.Scanner;
public class GardenManager{ public class GardenManager{
private ArrayList<Plant> myGarden = new ArrayList<Plant>(); private ArrayList<Plant> myGarden;
public GardenManager(){
myGarden = new ArrayList<Plant>();
}
public ArrayList<Plant> getMyGardenList(){ public ArrayList<Plant> getMyGardenList(){
return myGarden; return myGarden;