diff --git a/src/utilities/IntentFactory.java b/src/utilities/IntentFactory.java index e90d4df35..55c25a9f1 100644 --- a/src/utilities/IntentFactory.java +++ b/src/utilities/IntentFactory.java @@ -121,34 +121,4 @@ public final class IntentFactory { new PersistentMessageIntent(receiver, mail, receiver.getOwner().getGalaxyName()).broadcast(); } - /** - * Displays the provided {@link SuiWindow} to the player. - *

- * This is the same as calling suiWindow.display(player) - * @param player Player to be shown the {@link SuiWindow}. - * @param suiWindow {@link SuiWindow} to be shown - */ - public void showSuiWindow(Player player, SuiWindow suiWindow) { - suiWindow.display(player); - } - - /** - * Closes a currently opened window on the client with the id of the SUI Window. - *

- * This is the same as calling suiWindow.close(player); - * @param player Player that has the window to be closed - * @param suiWindow {@link SuiWindow} to be closed - */ - public void closeSuiWindow(Player player, SuiWindow suiWindow) { - suiWindow.close(player); - } - - /** - * Closes a currently opened window on the client with the id of the SUI Window - * @param player Player that has the window to be closed - * @param windowId Window id of the {@link SuiWindow} to close - */ - public void closeSuiWindow(Player player, int windowId) { - new SuiWindowIntent(player, null, windowId, SuiWindowIntent.SuiWindowEvent.CLOSE).broadcast(); - } }