Examples of KickPlayerRequestMessage


Examples of de.creepsmash.common.messages.client.KickPlayerRequestMessage

   * method for ActionEvent on kickButton to kick a Player.
   * Only the owner can kick.
   * @param evt for ActionEvent
   */
  public void kickButtonActionPerformed(ActionEvent evt) {
    KickPlayerRequestMessage kprm = new KickPlayerRequestMessage();
    kprm.setPlayerName((String) playerlist.getSelectedValue());

    // can't kick the player himself
    if (((String) playerlist.getSelectedValue()).equals(
        getCore().getPlayerName())) {
      return;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.