@@ -0,0 +1,574 @@
+package avs.models;%0A%0Aimport avs.utils.Textures;%0A%0Aimport java.awt.image.*;%0Aimport java.awt.*;%0A%0Aimport javax.swing.*;%0A%0Apublic abstract class Plant %7B%0A%09private boolean isAlive;%0A    protected int cost;%0A%0A    public Plant(Textures texx) %7B%0A        super(texx);%0A        this.isAlive = true;%0A    %7D%0A%0A%09public Plant(double x, double y, Textures texx)%7B%0A%09%09super(x, y, texx);%0A%09%09this.isAlive = true;%0A%09%7D%0A%0A%09public boolean isAlive()%7B%0A%09%09return this.isAlive;%0A%09%7D%0A%0A%09public void setIsAlive(boolean isAlive)%7B%0A%09%09this.isAlive = isAlive;%0A%09%7D%0A%0A    public int getCost() %7B%0A        return this.cost;%0A    %7D%0A%7D%0A

Create Plant class