Class GeneralAction
java.lang.Object
zombie.core.GeneralAction
- All Implemented Interfaces:
INetworkPacketField, IDescriptor
- Direct Known Subclasses:
GeneralActionPacket
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatbooleanisConsistent(UdpConnection connection) voidparse(ByteBuffer b, UdpConnection connection) voidvoidsetDuration(long duration) voidvoidvoidMethods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IDescriptor
getClassDescription, getDescription, getDescriptionMethods inherited from interface INetworkPacketField
getPacketSizeBytes
-
Field Details
-
duration
public long duration
-
-
Constructor Details
-
GeneralAction
public GeneralAction()
-
-
Method Details
-
setTimeData
public void setTimeData() -
set
-
parse
- Specified by:
parsein interfaceINetworkPacketField
-
write
- Specified by:
writein interfaceINetworkPacketField
-
setState
-
setDuration
public void setDuration(long duration) -
isConsistent
- Specified by:
isConsistentin interfaceINetworkPacketField
-
getProgress
public float getProgress()
-