@@ -0,0 +1,964 @@
+import java.awt.*;%0Aimport java.util.ArrayList;%0A%0A%0Apublic class Continent %7B%0A    private ArrayList%3CTerritory%3E territory = new ArrayList%3CTerritory%3E();%0A    private String name = %22%22;%0A    private int reinforcement = 0;%0A%0A    public Continent(String name, int reinforcement) %7B%0A        this.name = name;%0A        this.reinforcement = reinforcement;%0A    %7D%0A%0A    public Continent(Territory data) %7B%0A        territory = new ArrayList%3CTerritory%3E();%0A        territory.add(data);%0A    %7D%0A%0A    public void addTerritory(Territory data) %7B%0A        this.territory.add(data);%0A    %7D%0A%0A%0A    public void printContinent(Graphics g) %7B%0A        for (int i = 0; i %3C this.territory.size(); i++) %7B%0A            this.territory.get(i).printTerritory(g);%0A        %7D%0A    %7D%0A%0A%0A    public String toString() %7B%0A        String ret = name + %22   %22 + reinforcement + %22%5Cn%22;%0A        for (int i = 0; i %3C territory.size(); i++) %7B%0A            ret += %22%5Cn%22 + territory.get(i) + %22%5Cn%22;%0A        %7D%0A%0A        return ret;%0A    %7D%0A%7D%0A%0A

Create Continent.java