org.woehlke.simulation.evolution.dom
Class SimGenWorld

java.lang.Object
  extended by org.woehlke.simulation.evolution.dom.SimGenWorld
All Implemented Interfaces:
ISimGenWorld

public class SimGenWorld
extends java.lang.Object
implements ISimGenWorld

(C) 2006 - 2008 Thomas Woehlke http://www.thomas-woehlke.de

Author:
Thomas Woehlke User: thomas Date: 04.02.2006 Time: 19:06:20

Constructor Summary
SimGenWorld()
           
SimGenWorld(int x, int y)
           
 
Method Summary
 int getFoodPerDay()
           
 int getHeight()
           
 int getInitialPopulation()
           
 java.util.ArrayList<SimGenPoint> getPositionsOfAllCells()
           
 int getWidth()
           
 int getX()
           
 int getY()
           
 boolean hasFood(int x, int y)
           
 void letFoodGrow()
           
 void letLivePopulation()
           
 void setFoodPerDay(int foodPerDay)
           
 void setHeight(int y)
           
 void setInitialPopulation(int initialPopulation)
           
 void setWidth(int x)
           
 void setX(int x)
           
 void setY(int y)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimGenWorld

public SimGenWorld()

SimGenWorld

public SimGenWorld(int x,
                   int y)
Method Detail

letFoodGrow

public void letFoodGrow()
Specified by:
letFoodGrow in interface ISimGenWorld

letLivePopulation

public void letLivePopulation()
Specified by:
letLivePopulation in interface ISimGenWorld

getPositionsOfAllCells

public java.util.ArrayList<SimGenPoint> getPositionsOfAllCells()
Specified by:
getPositionsOfAllCells in interface ISimGenWorld

hasFood

public boolean hasFood(int x,
                       int y)
Specified by:
hasFood in interface ISimGenWorld

getWidth

public int getWidth()
Specified by:
getWidth in interface ISimGenWorld

setWidth

public void setWidth(int x)

getHeight

public int getHeight()
Specified by:
getHeight in interface ISimGenWorld

setHeight

public void setHeight(int y)

getFoodPerDay

public int getFoodPerDay()
Specified by:
getFoodPerDay in interface ISimGenWorld

setFoodPerDay

public void setFoodPerDay(int foodPerDay)
Specified by:
setFoodPerDay in interface ISimGenWorld

getY

public int getY()
Specified by:
getY in interface ISimGenWorld

setY

public void setY(int y)
Specified by:
setY in interface ISimGenWorld

getX

public int getX()
Specified by:
getX in interface ISimGenWorld

setX

public void setX(int x)
Specified by:
setX in interface ISimGenWorld

getInitialPopulation

public int getInitialPopulation()
Specified by:
getInitialPopulation in interface ISimGenWorld

setInitialPopulation

public void setInitialPopulation(int initialPopulation)
Specified by:
setInitialPopulation in interface ISimGenWorld


Copyright © 2006-2008 Thomas Woehlke. All Rights Reserved.