A - actor involvedpublic abstract class ActorEventBase<A extends Actor> extends ServerMessageEventBase implements ActorEvent<A>
ActorEvent| Modifier | Constructor and Description |
|---|---|
protected |
ActorEventBase(@NonNull Client client,
@NonNull ServerMessage sourceMessage,
A actor)
Constructs the event.
|
| Modifier and Type | Method and Description |
|---|---|
A |
getActor()
Gets the actor responsible for this event.
|
protected @NonNull ToStringer |
toStringer()
Generates a partial
ToStringer for the command. |
getSourcegetClient, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetClientgetTag, getTag, getTagsprotected ActorEventBase(@NonNull Client client, @NonNull ServerMessage sourceMessage, A actor)
client - the clientsourceMessage - source messageactor - the actorpublic final A getActor()
ActorEventgetActor in interface ActorEvent<A extends Actor>protected @NonNull ToStringer toStringer()
ClientEventBaseToStringer for the command.toStringer in class ServerMessageEventBaseCopyright © 2013–2021 Kitteh. All rights reserved.