Examples of SuggestionDisprovedCardMessage


Examples of clueless.messaging.SuggestionDisprovedCardMessage

             
            }
            if(invalidCards != null){
              if(invalidCards.size()==1) {
                // This player has one of the suggestion cards, notify the suggester AND let everyone else know at least one card in the suggestion is wrong.
                server.send(theory.getTheorist(), new SuggestionDisprovedCardMessage(player, invalidCards.get(0)));
                server.sendAll(new SuggestionDisprovedMessage(player, theory));
                return;
              } else if(invalidCards.size()>1) {
                // This player has more than one card - we need them to decide which one to show the suggester.
                this.fireSuggestionDisprovedNeedFeedBackEvent(new SuggestionDisprovedNeedFeedBackEvent(this, theory, invalidCards));
View Full Code Here

Examples of clueless.messaging.SuggestionDisprovedCardMessage

    {
      //server.send(currentPlayer, new SuggestionDisprovedCardMessage(currentPlayer, ((DisproveCardEvent)event).getDisprovedCard()));
    }

    //Otherwise let the server know
    client.send(new SuggestionDisprovedCardMessage(client.getPlayer(), ((DisproveCardEvent)event).getDisprovedCard()));
  }
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.