| Total Complexity | 2 |
| Total Lines | 15 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | /* |
||
| 27 | public final class PrivateMessage extends AbstractChatMessage { |
||
| 28 | public static final char TYPE_FROM = 'F'; |
||
| 29 | public static final char TYPE_TO = 'T'; |
||
| 30 | |||
| 31 | private final char type; |
||
| 32 | |||
| 33 | public PrivateMessage(char type, GamePlayer target, String message, String extra) { |
||
| 34 | 1 | super(target, message, extra, false); |
|
| 35 | |||
| 36 | 1 | this.type = type; |
|
| 37 | 1 | } |
|
| 38 | |||
| 39 | @Override |
||
| 40 | protected char channel() { |
||
| 41 | 1 | return type; |
|
| 42 | } |
||
| 44 |