Class PrivateText

java.lang.Object
VASSAL.build.module.noteswindow.PrivateText

public class PrivateText extends Object
A text message with an owner
  • Constructor Details

    • PrivateText

      public PrivateText(String owner, String text)
  • Method Details

    • getOwner

      public String getOwner()
    • getText

      public String getText()
    • equals

      public boolean equals(Object o)
      Two PrivateTexts with the same owner are considered equal
      Overrides:
      equals in class Object
      Parameters:
      o -
      Returns:
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object