Class RandomCreatureGenerator

java.lang.Object
java.util.Random
ch.idsia.tools.RandomCreatureGenerator
All Implemented Interfaces:
java.io.Serializable

public class RandomCreatureGenerator
extends java.util.Random
Created by IntelliJ IDEA. User: Sergey Karakovskiy, sergey.karakovskiy@gmail.com Date: Sep 17, 2010 Time: 1:38:10 AM Package: ch.idsia.tools
See Also:
Serialized Form
  • Constructor Summary

    Constructors 
    Constructor Description
    RandomCreatureGenerator​(long seed, java.lang.String creatures, int difficulty)  
  • Method Summary

    Modifier and Type Method Description
    boolean canAdd()  
    void increaseLastCreature()  
    boolean isCreatureEnabled​(java.lang.String creature)  
    int nextCreature()  
    void setSeed​(long seed, java.lang.String creatures, int difficulty)  

    Methods inherited from class java.util.Random

    doubles, doubles, doubles, doubles, ints, ints, ints, ints, longs, longs, longs, longs, next, nextBoolean, nextBytes, nextDouble, nextFloat, nextGaussian, nextInt, nextInt, nextLong, setSeed

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RandomCreatureGenerator

      public RandomCreatureGenerator​(long seed, java.lang.String creatures, int difficulty)
  • Method Details