Revert player to A* AI and make enemy just a tiny bit slower to prevent deadlocks
Signed-off-by: Chris Cromer <chris@cromer.cl>
This commit is contained in:
parent
1185f7938a
commit
49789f6df3
@ -41,7 +41,7 @@ public interface Constants {
|
||||
/**
|
||||
* Which type of AI to use
|
||||
*/
|
||||
PlayerAIType PLAYER_AI = PlayerAIType.HUMAN;
|
||||
PlayerAIType PLAYER_AI = PlayerAIType.ASTAR;
|
||||
/**
|
||||
* Whether or not the enemies should be controlled by AI
|
||||
*/
|
||||
|
@ -215,7 +215,7 @@ public class EnemyAI extends AI implements Runnable, Constants {
|
||||
public void run() {
|
||||
while (getActive()) {
|
||||
try {
|
||||
Thread.sleep(600);
|
||||
Thread.sleep(700);
|
||||
}
|
||||
catch (InterruptedException e) {
|
||||
logger.info(e.getMessage());
|
||||
|
Loading…
Reference in New Issue
Block a user