com.brackeen.javagamebook.ai
Class EvolutionBot

java.lang.Object
  extended bycom.brackeen.javagamebook.game.GameObject
      extended bycom.brackeen.javagamebook.path.PathBot
          extended bycom.brackeen.javagamebook.ai.AIBot
              extended bycom.brackeen.javagamebook.ai.EvolutionBot

public class EvolutionBot
extends AIBot


Field Summary
 
Fields inherited from class com.brackeen.javagamebook.ai.AIBot
BATTLE_STATE_ATTACK, BATTLE_STATE_DODGE, BATTLE_STATE_RUN_AWAY, DECESION_READY, NORMAL_STATE_CHASE, NORMAL_STATE_IDLE, NORMAL_STATE_PATROL, WOUNDED_STATE_DEAD, WOUNDED_STATE_HURT
 
Fields inherited from class com.brackeen.javagamebook.game.GameObject
STATE_ACTIVE, STATE_DESTROYED, STATE_IDLE
 
Constructor Summary
EvolutionBot(PolygonGroup polygonGroup, CollisionDetection collisionDetection, EvolutionGenePool genePool, PolygonGroup blastModel)
           
 
Method Summary
 void notifyHitPlayer(long damage)
           
 void regenerate()
           
 
Methods inherited from class com.brackeen.javagamebook.ai.AIBot
addHealth, canHear, canSee, chooseBattleState, fireProjectile, getAiState, getHealth, getMaxHealth, isCriticalHealth, isFlying, isRegenerating, notifyEndOfPath, notifyWallCollision, setPathFinder, setRegenerating, update, updateHelper
 
Methods inherited from class com.brackeen.javagamebook.path.PathBot
getFlyHeight, notifyObjectCollision, setFacing, setFlyHeight, setPathRecalcTime, setSpeed, setTurnSpeed
 
Methods inherited from class com.brackeen.javagamebook.game.GameObject
addListener, getBounds, getCeilHeight, getFloorHeight, getListener, getLocation, getName, getPolygonGroup, getSpawns, getTransform, getX, getY, getZ, isActive, isDestroyed, isIdle, isJumping, isMakingNoise, makeNoise, removeListener, sendTouchNotifications, setCeilHeight, setFloorHeight, setFlying, setJumping, setState
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EvolutionBot

public EvolutionBot(PolygonGroup polygonGroup,
                    CollisionDetection collisionDetection,
                    EvolutionGenePool genePool,
                    PolygonGroup blastModel)
Method Detail

regenerate

public void regenerate()

notifyHitPlayer

public void notifyHitPlayer(long damage)
Overrides:
notifyHitPlayer in class AIBot