apes
Class EnemyAIMediumRewrite

java.lang.Object
  extended by apes.AbstractEnemyAI
      extended by apes.EnemyAIMediumRewrite
All Implemented Interfaces:
IEnemyAI

public class EnemyAIMediumRewrite
extends AbstractEnemyAI
implements IEnemyAI


Field Summary
 
Fields inherited from class apes.AbstractEnemyAI
currentThinking, gc, map, MAXBETA, MAXTHINKINGTIME, MAXVELOCITY, MINBETA, MINTHINKINGTIME, MINVELOCITY
 
Constructor Summary
EnemyAIMediumRewrite(BlockMap map)
           
 
Method Summary
 void calculateVelocityBeta()
          calculates angles which will be returned by getBeta and getVelocity.
 float getBeta()
          returns an angle that should be used in a throw.
 float getVelocity()
          returns a velocity that should be used in a throw.
 
Methods inherited from class apes.AbstractEnemyAI
executeNextMove, randomBetween
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface apes.IEnemyAI
executeNextMove
 

Constructor Detail

EnemyAIMediumRewrite

public EnemyAIMediumRewrite(BlockMap map)
Method Detail

calculateVelocityBeta

public void calculateVelocityBeta()
Description copied from class: AbstractEnemyAI
calculates angles which will be returned by getBeta and getVelocity.

Specified by:
calculateVelocityBeta in class AbstractEnemyAI

getBeta

public float getBeta()
Description copied from class: AbstractEnemyAI
returns an angle that should be used in a throw.

Specified by:
getBeta in class AbstractEnemyAI
Returns:

getVelocity

public float getVelocity()
Description copied from class: AbstractEnemyAI
returns a velocity that should be used in a throw.

Specified by:
getVelocity in class AbstractEnemyAI
Returns: