Chimera Wing Enabled Graph

This commit is contained in:
NuclearW 2013-02-15 20:48:52 -05:00
parent 009396cad9
commit 704f7374d2

View File

@ -183,6 +183,26 @@ public class MetricsManager {
}
});
// Chimera Wing Enabled Graph
Graph chimeraGraph = metrics.createGraph("Chimera Wing");
if (Config.getInstance().getChimaeraEnabled()) {
chimeraGraph.addPlotter(new Metrics.Plotter("Enabled") {
@Override
public int getValue() {
return 1;
}
});
}
else {
chimeraGraph.addPlotter(new Metrics.Plotter("Disabled") {
@Override
public int getValue() {
return 1;
}
});
}
emetrics.startMetrics();
}
catch (IOException e) {