org.eviline.randomizer
Class RandomRandomizer

java.lang.Object
  extended by org.eviline.randomizer.AbstractRandomizer
      extended by org.eviline.randomizer.RandomRandomizer
All Implemented Interfaces:
Serializable, Randomizer

public class RandomRandomizer
extends AbstractRandomizer
implements Randomizer, Serializable

Randomizer that chooses at random, not using a bag.

Author:
robin
See Also:
Serialized Form

Field Summary
protected  PropertySource config
           
 
Constructor Summary
RandomRandomizer(PropertySource p)
           
 
Method Summary
 PropertySource config()
           
 String getTaunt()
           
 String name()
           
 Shape provideShape(Field field)
          Return the Shape to be next played on the argument Field
 
Methods inherited from class org.eviline.randomizer.AbstractRandomizer
getNext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eviline.randomizer.Randomizer
getNext
 

Field Detail

config

protected PropertySource config
Constructor Detail

RandomRandomizer

public RandomRandomizer(PropertySource p)
Method Detail

provideShape

public Shape provideShape(Field field)
Description copied from interface: Randomizer
Return the Shape to be next played on the argument Field

Specified by:
provideShape in interface Randomizer
Returns:

getTaunt

public String getTaunt()
Specified by:
getTaunt in interface Randomizer

config

public PropertySource config()
Specified by:
config in interface Randomizer

name

public String name()
Specified by:
name in interface Randomizer


Copyright © 2013. All Rights Reserved.