forked from MagicBane/Server
Project cleanup pre merge.
This commit is contained in:
@@ -7,7 +7,6 @@
|
||||
// www.magicbane.com
|
||||
|
||||
|
||||
|
||||
package engine.devcmd.cmds;
|
||||
|
||||
import engine.ai.MobileFSMManager;
|
||||
@@ -18,30 +17,30 @@ import engine.objects.PlayerCharacter;
|
||||
|
||||
public class HeartbeatCmd extends AbstractDevCmd {
|
||||
|
||||
public HeartbeatCmd() {
|
||||
public HeartbeatCmd() {
|
||||
super("heartbeat");
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void _doCmd(PlayerCharacter pc, String[] words,
|
||||
AbstractGameObject target) {
|
||||
@Override
|
||||
protected void _doCmd(PlayerCharacter pc, String[] words,
|
||||
AbstractGameObject target) {
|
||||
|
||||
this.throwbackInfo(pc, "Heartbeat : " + SimulationManager.executionTime.toMillis() + "ms");
|
||||
this.throwbackInfo(pc, "Heartbeat Max: " + SimulationManager.executionMax.toMillis() + "ms");
|
||||
this.throwbackInfo(pc, "Heartbeat : " + SimulationManager.executionTime.toMillis() + "ms");
|
||||
this.throwbackInfo(pc, "Heartbeat Max: " + SimulationManager.executionMax.toMillis() + "ms");
|
||||
|
||||
this.throwbackInfo(pc, "FSM: " + MobileFSMManager.executionTime.toMillis() + "ms");
|
||||
this.throwbackInfo(pc, "FSM max: " + MobileFSMManager.executionMax.toMillis() + "ms");
|
||||
this.throwbackInfo(pc, "FSM: " + MobileFSMManager.executionTime.toMillis() + "ms");
|
||||
this.throwbackInfo(pc, "FSM max: " + MobileFSMManager.executionMax.toMillis() + "ms");
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
protected String _getHelpString() {
|
||||
return "Displays simulation metrics";
|
||||
}
|
||||
@Override
|
||||
protected String _getHelpString() {
|
||||
return "Displays simulation metrics";
|
||||
}
|
||||
|
||||
@Override
|
||||
protected String _getUsageString() {
|
||||
return "' ./heartbeat";
|
||||
}
|
||||
@Override
|
||||
protected String _getUsageString() {
|
||||
return "' ./heartbeat";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user