Data Management
System Overview
The data management system is based on the listener design pattern, also called observer pattern. The main class of the data management system is the MentalMap
, whose purpose is to store all the information related to the game elements, such as players, targets and weapons. When some of these elements change, for instance, after a player has been hit, it notifies all the MentalMapEventListerners
subscribed with a new event.
Last updated