Class PrivateChatter

All Implemented Interfaces:
DropTargetListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, Buildable, CommandEncoder

public class PrivateChatter extends Chatter
A window for private messages between the user and another player;
See Also:
  • Constructor Details

  • Method Details

    • send

      public void send(String msg)
      Description copied from class: Chatter
      Displays the message, Also logs and sends to the server a Command that displays this message.
      Overrides:
      send in class Chatter
    • getPlayer

      public Player getPlayer()
    • getClient

      public ServerConnection getClient()