コード例 #1
0
 @Override
 public void execute(
     final ConsoleManager manager, final CommandPattern pattern, final ArrayList<String> args) {
   if (WakfuGameEntity.getInstance().hasFrame(UIEcosystemEquilibriumFrame.getInstance())) {
     WakfuGameEntity.getInstance().removeFrame(UIEcosystemEquilibriumFrame.getInstance());
   } else {
     WakfuGameEntity.getInstance().pushFrame(UIEcosystemEquilibriumFrame.getInstance());
   }
 }
コード例 #2
0
 @Override
 public void execute(
     final ConsoleManager manager, final CommandPattern pattern, final ArrayList<String> args) {
   final PlayerDNDNotificationMessage dndMessage = new PlayerDNDNotificationMessage();
   WakfuGameEntity.getInstance().getNetworkEntity().sendMessage(dndMessage);
 }