Sorry for the random commits, just making sure that all game files are
pushed
I showed you this shit
added in some of the stuff about states that we were talking about. The
changes in state occur within the processbutton methods. The state now
keeps track of the location of a selected square and allows you to place
a unit there, it also has a variable in place to keep track of a
selected unit. To place a unit, either select a square, then the unit
button, then the deploy button, or you may press the unit button, then
the square then deploy. The animator sets the selected button to
disabled (this changes its appearence to indicate it is selected). I
spent all day coding this shit, I don't honestly remember everything
that I did. If you have a question, ask me.
Pretty much total overhaul of faction class - now is an abstract class
which only returns a new unit when passed a number between 0-5, to be
used when a unit button is pressed, and another function with the same
input which returns a string to set the unit buttons to.

There are other changes I made but you'll have to ask me as you see
them. Here's what it does now:
+It now will display on the unit buttons the name of the unit in the
faction which it will place
+You can now place an archer and a knight. To add more units, go update
the ancient faction class.
+the game tells which faction to use by getting the faction id from the
current commander.
+player turns are enforced, end turn button works
+units can now be prepared
+units display their health at all times
+preparing units will start a countdown to attack
+while preparing, their remaining time to attack is displayed
+units now attack down their column
+units are removed after attacking
+units that have <0 health are removed
+units attack timers are decremented at the beginning of the owners
turn, if their timer reaches zero, they also attack at this time
=====TO DO=====
+Damage to structures is NOT yet implemented
+nothing related to cost has been implemented
+the layout is still only one view
+no save state
+no ability to select factions yet
+no factions near fully implemented
changed the way it animates grid buttons so that instead of setting
buttons enabled or disabled, they're just slightly changed in color.
Also, top is now blue and bottom red.
I don't see these updates online...