fix the problem of action direction (need help for findint anything
about the wrong y-direction)
fix the bug that a dead unit was still stay in the map which causes the
king stop attacking after kill one enemy.
add to direction for the units to go