|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectapes.AbstractEnemyAI
apes.EnemyAIMediumRewrite
public class EnemyAIMediumRewrite
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 |
---|
public EnemyAIMediumRewrite(BlockMap map)
Method Detail |
---|
public void calculateVelocityBeta()
AbstractEnemyAI
calculateVelocityBeta
in class AbstractEnemyAI
public float getBeta()
AbstractEnemyAI
getBeta
in class AbstractEnemyAI
public float getVelocity()
AbstractEnemyAI
getVelocity
in class AbstractEnemyAI
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |