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. |
getSource
getClient, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getClient
getTag, getTag, getTags
protected ActorEventBase(@NonNull Client client, @NonNull ServerMessage sourceMessage, A actor)
client
- the clientsourceMessage
- source messageactor
- the actorpublic final A getActor()
ActorEvent
getActor
in interface ActorEvent<A extends Actor>
protected @NonNull ToStringer toStringer()
ClientEventBase
ToStringer
for the command.toStringer
in class ServerMessageEventBase
Copyright © 2013–2021 Kitteh. All rights reserved.