S now toggles StateDebugging which just writes the units state above them
fixed major bug in canAnyUnitSeeEnemy function
fixing state machines (not quite done)
-rewrote all the state logic
-added commands to try and make this logic simpler
included the js files from last commit
removed a bunch of uncessarry Unit properties that were no longer needed
moved the gamerunnerinterface into the gamerunners folder
moved a duplicated method up into the parent class
-added an engage command
-made it so units will now start attacking a new target if they are not specifically targgeting a different one and the one they are currently attacking walks too far away
-forgot to add a ts file
-renamed some things
-deleted some old comments and code
made it so units with an engage command will engage the closest unit to them