com.brackeen.javagamebook.ai
Class Brain

java.lang.Object
  extended bycom.brackeen.javagamebook.ai.Brain
All Implemented Interfaces:
java.lang.Cloneable

public class Brain
extends java.lang.Object
implements java.lang.Cloneable


Field Summary
 PathFinder aimPathFinder
           
 long aimTime
           
 PathFinder attackPathFinder
           
 float attackProbability
           
 PathFinder chasePathFinder
           
 long decisionTime
           
 PathFinder dodgePathFinder
           
 float dodgeProbability
           
 float hearDistance
           
 PathFinder idlePathFinder
           
 PathFinder runAwayPathFinder
           
 float runAwayProbability
           
 
Constructor Summary
Brain()
           
Brain(Brain brain)
          Copy constructor.
 
Method Summary
 java.lang.Object clone()
           
 void fixProbabilites()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

attackPathFinder

public PathFinder attackPathFinder

dodgePathFinder

public PathFinder dodgePathFinder

aimPathFinder

public PathFinder aimPathFinder

idlePathFinder

public PathFinder idlePathFinder

chasePathFinder

public PathFinder chasePathFinder

runAwayPathFinder

public PathFinder runAwayPathFinder

attackProbability

public float attackProbability

dodgeProbability

public float dodgeProbability

runAwayProbability

public float runAwayProbability

decisionTime

public long decisionTime

aimTime

public long aimTime

hearDistance

public float hearDistance
Constructor Detail

Brain

public Brain()

Brain

public Brain(Brain brain)
Copy constructor.

Method Detail

fixProbabilites

public void fixProbabilites()

clone

public java.lang.Object clone()

toString

public java.lang.String toString()