Package zombie.network.packets
Class EventPacket
java.lang.Object
zombie.network.packets.EventPacket
- All Implemented Interfaces:
INetworkPacket
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleanisRelevant(UdpConnection udpConnection) booleanvoidparse(ByteBuffer byteBuffer, UdpConnection udpConnection) booleanbooleanvoidvoidwrite(ByteBufferWriter byteBufferWriter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface zombie.network.packets.INetworkPacket
getPacketSizeBytes, log
-
Field Details
-
MAX_PLAYER_EVENTS
public static final int MAX_PLAYER_EVENTS- See Also:
-
x
public float x -
y
public float y -
z
public float z
-
-
Constructor Details
-
EventPacket
public EventPacket()
-
-
Method Details
-
getDescription
- Specified by:
getDescriptionin interfaceINetworkPacket
-
isConsistent
public boolean isConsistent()- Specified by:
isConsistentin interfaceINetworkPacket
-
parse
- Specified by:
parsein interfaceINetworkPacket
-
write
- Specified by:
writein interfaceINetworkPacket
-
isRelevant
-
isMovableEvent
public boolean isMovableEvent() -
isTimeout
public boolean isTimeout() -
tryProcess
public void tryProcess() -
process
-
set
-