Move lists to player class

But for some reason they still don't work...

Signed-off-by: Aharon Campos <aharoncampos@gmail.com>
First attempt at "intelligent" movement

Try to escape bombs and get close to enemies.

Signed-off-by: Aharon Campos <aharoncampos@gmail.com>
Check for enemies array instead of bomb ones

Also, do a check to see if it is required to activate a bomb
Move randomly if there is no element to make a choice

Do a random direction movement if I have nothing to make
a decision.

Signed-off-by: Aharon Campos <aharoncampos@gmail.com>
Fix bombing logic

Set a bomb if I am trying to move somewhere, but can't.

Also fix messages sent when player sprites are redrawn, they
had different case than expected.

Signed-off-by: Aharon Campos <aharoncampos@gmail.com>
Do not subscribe an already subscribed agent
Change to cyclic behaviour

Works faster. Also, restore lock to check whether blocks
around can be destroyed, to avoid pointless kills.

Signed-off-by: Aharon Campos <aharoncampos@gmail.com>
Merge branch 'master' of https://github.com/cristopherson/BomberJade
Comment out debug messages

Several messages are polluting the logs, we now need to focus
on different issues.

Signed-off-by: Aharon Campos <aharoncampos@gmail.com>
Different press times for bombs and movements

Also use localhost and skip check for same place when bombing.

Signed-off-by: Aharon Campos <aharoncampos@gmail.com>
Remove movement requests from messaging infrastructure

Instead of having the agent request movement to the main class,
have it move autonomously.

The only messages will be those of player and bomb detection.

Signed-off-by: Aharon Campos <aharoncampos@gmail.com>
Revert "Comment out debug messages"

This reverts commit 7500aed9c30233e423a8bf1386477963fd628f6c.

Conflicts:
	src/BomberMain.java
	src/BomberPlayerAgent.java
Update bomb placement behaviour

The current coordinates were not actually being used to
look for breakable walls.

With this change, players seem to have the intention to
go about breaking walls.

Signed-off-by: Aharon Campos <aharoncampos@gmail.com>