@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()); } }
@Override public void execute( final ConsoleManager manager, final CommandPattern pattern, final ArrayList<String> args) { final PlayerDNDNotificationMessage dndMessage = new PlayerDNDNotificationMessage(); WakfuGameEntity.getInstance().getNetworkEntity().sendMessage(dndMessage); }