public abstract class DefaultModeBase extends Object implements Mode
Modifier | Constructor and Description |
---|---|
protected |
DefaultModeBase(@NonNull Client client,
char mode)
Constructs and such.
|
Modifier and Type | Method and Description |
---|---|
char |
getChar()
Gets the mode character.
|
@NonNull Client |
getClient()
Gets the Client to which this belongs.
|
@NonNull String |
toString() |
protected @NonNull ToStringer |
toStringer()
Helper method for toString.
|
protected DefaultModeBase(@NonNull Client client, char mode)
client
- clientmode
- characterpublic @NonNull Client getClient()
ClientLinked
getClient
in interface ClientLinked
public char getChar()
Mode
protected @NonNull ToStringer toStringer()
Copyright © 2013–2021 Kitteh. All rights reserved.