View Javadoc
1   package org.woehlke.simulation.evolution.dom;
2   
3   import org.woehlke.simulation.evolution.beans.SimGenPoint;
4   
5   import java.util.ArrayList;
6   
7   /**
8    * (C) 2006 - 2008 Thomas Woehlke
9    * http://www.thomas-woehlke.de
10   * @author Thomas Woehlke
11   * Date: 04.02.2006
12   * Time: 22:51:49
13   */
14  public interface ISimGenWorld {
15      void letLivePopulation();
16  
17      void letFoodGrow();
18  
19      ArrayList<SimGenPoint> getPositionsOfAllCells();
20  
21      boolean hasFood(int x, int y);
22  
23      int getWidth();
24  
25      int getHeight();
26  
27      int getFoodPerDay();
28  
29      void setFoodPerDay(int foodPerDay);
30  
31      int getY();
32  
33      void setY(int y);
34  
35      int getX();
36  
37      void setX(int x);
38  
39      int getInitialPopulation();
40  
41      void setInitialPopulation(int initialPopulation);
42  }