Package bytemusketeers.heslingtonhustle.metrics
Provides the metric and metric-related MVC architecture to instantiate, update, and track various runtime game and
player metrics
- Author:
- ENG1 Team 23 (Cohort 3)
-
Interface Summary Interface Description MetricEntry AMetricEntry
implementation denotes a metric of a particular type, e.g.MetricListener AMetricListener
is interested in receives updates from aMetricController
through the correspondingMetricUpdater
. -
Class Summary Class Description AreaMetric DOWMetric ADOWMetric
represents a singular day of the week to be managed by theMetricController
MetricController AMetricController
stores and manages manyMetricEntry
items and their associatedMetricController.Metric
keys, providing a unified interface through which higher-level controllers may manipulate the values ofMetricEntry
objects and post runtime alteration updates to theMetricUpdater
.MetricUpdater TheMetricUpdater
provides a common controller to link a singleMetricController
andMetricListener
, by means of enabling the former to post updates to the latterPlayerMetric APlayerMetric
represents aMetricEntry
pertaining to the player-controlled character to be managed by theMetricController
. -
Enum Summary Enum Description DOWMetric.DayOfWeek Distinguish between days of the week with the defaultEnum.toString()
methods for displayMetricController.Metric Distinguish between the standard metrics represented in theMetricEntry
objects