barsuift.simLife.universe
Class BasicUniverseFactory

java.lang.Object
  extended by barsuift.simLife.universe.BasicUniverseFactory

public class BasicUniverseFactory
extends java.lang.Object


Constructor Summary
BasicUniverseFactory()
           
 
Method Summary
 Universe createEmpty()
          Create an empty universe with no trees
 Universe createRandom()
          Create a random universe with between 1 and 4 trees
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicUniverseFactory

public BasicUniverseFactory()
Method Detail

createRandom

public Universe createRandom()
Create a random universe with between 1 and 4 trees

Returns:
a new universe instance

createEmpty

public Universe createEmpty()
Create an empty universe with no trees

Returns:
a new universe instance


Copyright © 2010. All Rights Reserved.