states for attacking finished.  the current flow leaves out the action menu but thats not necessary right now.  free -> select a unit -> move (can be anywhere in blue range, including stay at current tile) -> potential attack (if enemy is in attacking range, otherwise return to free state) -> show attack range -> either select enemy or self (self means 'don't attack' and return to free state) -> resolve attack and return to free state.  The action menu state will be combined with potential attack state.  Next thing to do is a 'turn' state-system and then a simple enemy AI.