org.eviline.randomizer
Class RandomRandomizer
java.lang.Object
org.eviline.randomizer.AbstractRandomizer
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
config
protected PropertySource config
RandomRandomizer
public RandomRandomizer(PropertySource p)
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.