org.woehlke.simulation.evolution.dom
Class SimGenWorld
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimGenWorld
public SimGenWorld()
SimGenWorld
public SimGenWorld(int x,
int y)
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.