@@ -0,0 +1,1643 @@
+package eco.game;%0A%0A/**%0A * This class represents the warriors in the world, and manages their needs and%0A * outputs%0A * %0A * @author connor, will, nate, phil%0A * %0A */%0A%0Apublic class Warrior %7B%0A%0A%09private int wPop = 5;%0A%09private int oldWPop = wPop;%0A%09private float floatWPop = wPop;%0A%09private int wHunger;%0A%0A%09private int normalHunger = 10;%0A%09private int totalHunger;%0A%0A%09public float wPop() %7B%0A%09%09float rate = (1 + PlayerCountry.wBirthRate - PlayerCountry.wDeathRate);%0A%09%09float floatWPop = (this.floatWPop * rate);%0A%09%09float wpop = floatWPop;%0A%09%09return wpop - oldWPop;%0A%09%7D%0A%0A%09public int newPop() %7B%0A%09%09return wPop - oldWPop;%0A%09%7D%0A%0A%09public void addPop(float newPop) %7B%0A%09%09floatWPop += newPop;%0A%09%09wPop = (int) floatWPop;%0A%09%7D%0A%0A%09public int wHunger() %7B%0A%09%09wHunger = 0;%0A%09%09wHunger = normalHunger + (Util.randInt(0, 3));%0A%09%09return wHunger;%0A%09%7D%0A%0A%09public int getwPop() %7B%0A%09%09return wPop;%0A%09%7D%0A%0A%09public void setwPop(int wPop) %7B%0A%09%09this.wPop = wPop;%0A%09%7D%0A%0A%09public int getOldWPop() %7B%0A%09%09return oldWPop;%0A%09%7D%0A%0A%09public void setOldWPop(int oldWPop) %7B%0A%09%09this.oldWPop = oldWPop;%0A%09%7D%0A%0A%09public float getFloatWPop() %7B%0A%09%09return floatWPop;%0A%09%7D%0A%0A%09public void setFloatWPop(float floatWPop) %7B%0A%09%09this.floatWPop = floatWPop;%0A%09%7D%0A%0A%09public int getwHunger() %7B%0A%09%09return wHunger;%0A%09%7D%0A%0A%09public void setwHunger(int wHunger) %7B%0A%09%09this.wHunger = wHunger;%0A%09%7D%0A%0A%09public int getNormalHunger() %7B%0A%09%09return normalHunger;%0A%09%7D%0A%0A%09public void setNormalHunger(int normalHunger) %7B%0A%09%09this.normalHunger = normalHunger;%0A%09%7D%0A%0A%09public int getTotalHunger() %7B%0A%09%09return totalHunger;%0A%09%7D%0A%0A%09public void setTotalHunger(int totalHunger) %7B%0A%09%09this.totalHunger = totalHunger;%0A%09%7D%0A%0A%09public void addPop(int tooAdd) %7B%0A%09%09wPop += tooAdd;%0A%09%09floatWPop += tooAdd;%0A%09%7D%0A%0A%7D%0A

Create Warrior.java