aboutsummaryrefslogtreecommitdiff
path: root/src/statistics/trackers.rs
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2018-06-10 12:34:41 +0200
committerDaniel Schadt <kingdread@gmx.de>2018-06-10 12:34:41 +0200
commitcb20d6966a4c3d386925f812fe83b00f3f803db3 (patch)
treef379b9b393eeebd75c11222620e7537f94d87acc /src/statistics/trackers.rs
parentfd4379f99ce6ed205f582a270d6a9995c51ede4e (diff)
downloadevtclib-cb20d6966a4c3d386925f812fe83b00f3f803db3.tar.gz
evtclib-cb20d6966a4c3d386925f812fe83b00f3f803db3.tar.bz2
evtclib-cb20d6966a4c3d386925f812fe83b00f3f803db3.zip
add a hint on multiplexer
Diffstat (limited to 'src/statistics/trackers.rs')
-rw-r--r--src/statistics/trackers.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/statistics/trackers.rs b/src/statistics/trackers.rs
index 44b2f97..7b16fce 100644
--- a/src/statistics/trackers.rs
+++ b/src/statistics/trackers.rs
@@ -9,6 +9,11 @@
//! doesn't matter what you track, it doesn't matter how many trackers you
//! define.
//!
+//! If you want to track stats separated by player or phases, consider writing
+//! your tracker in a way that it only tracks statistics for a single player,
+//! and then use a [`Multiplexer`](struct.Multiplexer.html) to automatically
+//! track it for every player/agent.
+//!
//! You can use [`run_trackers`](../fn.run_trackers.html) to run multiple
//! trackers on the same log.
use std::collections::HashMap;