Package org.cspoker.common.api.chat.event

Examples of org.cspoker.common.api.chat.event.MessageEvent


   *
   * @param event The {@link HoldemTableEvent} to generate and display a
   *            dealer message for
   */
  public void showDealerMessage(HoldemTableEvent event) {
    onMessage(new MessageEvent(new Dealer(), event.toString()));
  }
View Full Code Here


    players.remove(listener);
  }
   
  public void sendMessage(Player sender,String message){
    for(ChatListener listener: players){
      listener.onMessage(new MessageEvent(sender,message));
    }
  }
View Full Code Here

TOP

Related Classes of org.cspoker.common.api.chat.event.MessageEvent

Copyright © 2018 www.massapicom. 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.