Class NetTimedAction
java.lang.Object
zombie.core.NetTimedAction
- All Implemented Interfaces:
INetworkPacketField, IDescriptor
- Direct Known Subclasses:
NetTimedActionPacket
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidfloatbooleanisConsistent(UdpConnection connection) voidparse(ByteBuffer b, UdpConnection connection) voidvoidvoidsetDuration(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
-
type
-
name
-
action
public se.krka.kahlua.vm.KahluaTable action -
duration
public long duration
-
-
Constructor Details
-
NetTimedAction
public NetTimedAction()
-
-
Method Details
-
set
-
parse
- Specified by:
parsein interfaceINetworkPacketField
-
forceComplete
public void forceComplete() -
write
- Specified by:
writein interfaceINetworkPacketField
-
animEvent
-
setTimeData
public void setTimeData() -
set
-
setState
-
setDuration
public void setDuration(long duration) -
isConsistent
- Specified by:
isConsistentin interfaceINetworkPacketField
-
getProgress
public float getProgress()
-