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:
Chris Cromer 2020-02-26 21:24:23 -03:00
parent 1185f7938a
commit 49789f6df3
2 changed files with 2 additions and 2 deletions

View File

@ -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
*/

View File

@ -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());