Package net.alteiar.beans.chat

Examples of net.alteiar.beans.chat.Chat


      int port, String specificDir, String globalDocumentPath,
      MyKryoInit kryoInit) {
    connectToServer(serverAdress, port, specificDir, globalDocumentPath,
        kryoInit);

    Chat chat = new Chat();
    DiceRoller diceRoller = new DiceRoller();
    CombatTraker traker = new CombatTraker();

    CampaignClient.INSTANCE.addBean(chat);
    CampaignClient.INSTANCE.addBean(diceRoller);
View Full Code Here


    Player current = CampaignClient.getInstance().getCurrentPlayer();

    assertTrue("Documents should be equals", current.equals(current));
    assertTrue("Documents should be equals", !current.equals(null));

    Chat chat = CampaignClient.getInstance().getChat();
    assertTrue("Documents should not be equals", !current.equals(chat));

    Player newBean = new Player();
    newBean.setId(null);
View Full Code Here

      currentCount = getChat().getMessages().size();
    }
  }

  public Chat getChat() {
    Chat chat = CampaignClient.getInstance().getChat();
    assertNotNull("Current chat must exist", chat);
    return chat;
  }
View Full Code Here

TOP

Related Classes of net.alteiar.beans.chat.Chat

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.