Added button file.

This commit is contained in:
Jonathan Williams 2014-06-14 21:27:33 -07:00
parent 264248ecfa
commit 26e16e8eac

View File

@ -0,0 +1,27 @@
package mineplex.hub.server.ui;
import org.bukkit.entity.Player;
import mineplex.core.shop.item.IButton;
public class SelectCSButton implements IButton
{
private ServerGameMenu _menu;
public SelectCSButton(ServerGameMenu menu)
{
_menu = menu;
}
@Override
public void ClickedLeft(Player player)
{
_menu.openCS(player);
}
@Override
public void ClickedRight(Player player)
{
ClickedLeft(player);
}
}