1234567891011121314151617181920212223 |
- package chat;
-
- import java.io.*;
- import java.util.*;
-
- public class Message extends Notification {
- private String text;
-
- Message (User in_author, String in_text, Boolean in_redirected)
- {
- author = in_author;
- text = in_text;
- redirected = in_redirected;
- }
- public void setText(String new_text)
- {
- text = new_text;
- }
- public String getText()
- {
- return text;
- }
- }
|