HallCat/WithoutThem — pull request #7 by walsh06 (2014-11-22 13:57:13+00:00)
Title: Added the Events System

This should not be merged yet. Just a chance for ye to look and comment on what I have done
The system works like the observer with the Eventsystem maintaining a list of all GameEvents and then updating each when update is called. Each event implement the interface.

There is a 1 in 5 chance of an event at any time and then the type of event is calculated by getting the triggerfactors of each event. The selected one then triggers and the factory is affected by the results.

Added:
- EventsSystem
- GameEvent Interface
- Death/Moral/Money Events

Changes:
- Factory to call eventsystem
- Worker for limiting moral range