barsuift.simLife.universe
Class UniverseStateFactory

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

public class UniverseStateFactory
extends java.lang.Object


Constructor Summary
UniverseStateFactory()
           
 
Method Summary
 UniverseState createEmptyUniverseState()
          Creates an empty universe state with the following values : nb of trees = 0 a random environment fpsShowing = false
 UniverseState createRandomUniverseState()
          Creates a random universe state with the following values : nb of trees between 1 and 4 a random environment fpsShowing = false
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UniverseStateFactory

public UniverseStateFactory()
Method Detail

createRandomUniverseState

public UniverseState createRandomUniverseState()
Creates a random universe state with the following values :

Returns:

createEmptyUniverseState

public UniverseState createEmptyUniverseState()
Creates an empty universe state with the following values :

Returns:


Copyright © 2010. All Rights Reserved.