Merge pull request #7 from Jbtyson/master

Merging changes in master into resources.
added mining variables to unit.js
resolving conflict in unit.js
fixed issues with resource access in towncenter.js
tons of little fixes
resolving conflicts in input
Add build condition

Only when it reach the building xy position, the building start
Revert "resolving conflicts in input"
"undoing unintended push"

This reverts commit 93f9f47d1a0dc1aa90451378e498c2481ca7e81a, reversing
changes made to 5934bdbf1c4f79210234480bf8d58ce4c5cb73f4.

:wq
resolved conflict in unit.js.  kept head(master)
Merge pull request #21 from Jbtyson/master

merge master into resources
"updated resource management between different gamobjects"
"reconnected gui resource bar to correct game object"
"factions track supply correctly"
MineralMine.js - fixed reneder location and hitbox
Merge pull request #22 from Jbtyson/resources

Merge resources into master
Added Barracks, Connector, and unit build position.

Barracks and connector buildings now appear. Also buildings can be
rotated. Finally units will spawn one at a time around the town center.
Merge pull request #23 from Jbtyson/buildings

Added Barracks, Connector, and unit build position.
Getting ready to merge
towncenter accesses resources correctly now
towncenter builds hoplite correctly instead of villager
Re-added new unit sprites
Implementing new sprites