org.eviline.randomizer
Class Bag7Randomizer

java.lang.Object
  extended by org.eviline.randomizer.AbstractRandomizer
      extended by org.eviline.randomizer.Bag7Randomizer
All Implemented Interfaces:
Randomizer

public class Bag7Randomizer
extends AbstractRandomizer
implements Randomizer


Field Summary
protected  List<ShapeType> bag
           
protected  PropertySource config
           
 
Constructor Summary
Bag7Randomizer()
           
 
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

bag

protected List<ShapeType> bag
Constructor Detail

Bag7Randomizer

public Bag7Randomizer()
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.