org.eviline.randomizer
Class BipolarRandomizer

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

public class BipolarRandomizer
extends AbstractRandomizer
implements Randomizer


Field Summary
protected  AngelRandomizer angelic
           
protected  PropertySource config
           
protected  ThreadedMaliciousRandomizer evil
           
protected  String taunt
           
 
Constructor Summary
BipolarRandomizer(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
 void setRandom(Random random)
           
 
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

angelic

protected AngelRandomizer angelic

evil

protected ThreadedMaliciousRandomizer evil

config

protected PropertySource config

taunt

protected String taunt
Constructor Detail

BipolarRandomizer

public BipolarRandomizer(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:

setRandom

public void setRandom(Random random)

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.