werntzp / movement-to-contact

Find, fix and destroy the enemy.
0 stars 0 forks source link

Don't check for enemy hidden unit if not able to move #56

Closed werntzp closed 6 years ago

werntzp commented 6 years ago

If unit doesn't have enough to move into next square, don't check to see if there an enemy unit there.

werntzp commented 6 years ago

Updated logic to check for avail move when trying to move into a square with a hidden enemy unit