de.hattrickorganizer.logik.matchengine.engine.core
Class BaseActionGenerator

java.lang.Object
  extended by de.hattrickorganizer.logik.matchengine.engine.core.BaseActionGenerator
Direct Known Subclasses:
ActionGenerator, CounterAttackGenerator

public class BaseActionGenerator
extends java.lang.Object

TODO Missing Class Documentation

Author:
TODO Author Name

Constructor Summary
BaseActionGenerator()
           
 
Method Summary
protected  TeamGameData compare(TeamData tv, TeamData ctv)
          TODO Missing Method Documentation
protected  int getArea(int tactic, int level)
          TODO Missing Method Documentation
protected  double getEffectiveness(double value)
          TODO Missing Method Documentation
protected  int getRandom(int value, int count)
          TODO Missing Method Documentation
protected  int getRandomInt(double number)
           
protected  boolean hasChance(TeamGameData tgd, int minute)
          TODO Missing Method Documentation
protected  boolean isScore(TeamGameData tgd, int area)
          TODO Missing Method Documentation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseActionGenerator

public BaseActionGenerator()
Method Detail

getArea

protected final int getArea(int tactic,
                            int level)
TODO Missing Method Documentation

Parameters:
tactic - TODO Missing Method Parameter Documentation
level - TODO Missing Method Parameter Documentation
Returns:
TODO Missing Return Method Documentation

getRandom

protected final int getRandom(int value,
                              int count)
TODO Missing Method Documentation

Parameters:
value - TODO Missing Method Parameter Documentation
count - TODO Missing Method Parameter Documentation
Returns:
TODO Missing Return Method Documentation

isScore

protected boolean isScore(TeamGameData tgd,
                          int area)
TODO Missing Method Documentation

Parameters:
tgd - TODO Missing Method Parameter Documentation
area - TODO Missing Method Parameter Documentation
Returns:
TODO Missing Return Method Documentation

compare

protected final TeamGameData compare(TeamData tv,
                                     TeamData ctv)
TODO Missing Method Documentation

Parameters:
tv - TODO Missing Method Parameter Documentation
ctv - TODO Missing Method Parameter Documentation
Returns:
TODO Missing Return Method Documentation

hasChance

protected final boolean hasChance(TeamGameData tgd,
                                  int minute)
TODO Missing Method Documentation

Parameters:
tgd - TODO Missing Method Parameter Documentation
minute - TODO Missing Method Parameter Documentation
Returns:
TODO Missing Return Method Documentation

getEffectiveness

protected double getEffectiveness(double value)
TODO Missing Method Documentation

Parameters:
value - TODO Missing Method Parameter Documentation
Returns:
TODO Missing Return Method Documentation

getRandomInt

protected int getRandomInt(double number)