- added EncounterManager::reset(); resets the encounter
- created ajax script './php/ajax/NewEncounter.php'; resets the encounter
Merge origin/master into test
- EncounterManager::add(Actor) now calls EncounterManager::sort() after adding the actor to the list
- added EncounterManager::__toString(); can be used to quickly print out the actor list for debugging purposes
- fixed a member variable reference in EncounterManager::sort()
- index.php now utilizes EncounterManager; adds constructed actors to via EncounterManager::add(Actor)
- renamed Actor::getTotal() to Actor::getInitiative()
Updated initiative logic