Package zombie.network.packets
Class EventPacket
java.lang.Object
zombie.network.packets.EventPacket
- All Implemented Interfaces:
INetworkPacket
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
Some events could be triggered in motionboolean
isRelevant
(UdpConnection connection) boolean
void
parse
(ByteBuffer b, UdpConnection connection) boolean
boolean
void
void
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
getDescription
in interfaceINetworkPacket
-
isConsistent
public boolean isConsistent()- Specified by:
isConsistent
in interfaceINetworkPacket
-
parse
- Specified by:
parse
in interfaceINetworkPacket
-
write
- Specified by:
write
in interfaceINetworkPacket
-
isRelevant
-
isMovableEvent
public boolean isMovableEvent()Some events could be triggered in motion -
isTimeout
public boolean isTimeout() -
tryProcess
public void tryProcess() -
process
-
set
-