Class BuildAction
java.lang.Object
zombie.core.BuildAction
- All Implemented Interfaces:
INetworkPacketField,IDescriptor
- Direct Known Subclasses:
BuildActionPacket
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatfloatbooleanisConsistent(UdpConnection arg0) booleanbooleanisValid()voidparse(ByteBuffer byteBuffer, UdpConnection udpConnection) booleanperform()voidvoidset(IsoPlayer player, float float0, float float1, float float2, boolean boolean0, String string, KahluaTable table) voidsetDuration(long arg0) voidvoidvoidstart()voidstop()voidupdate()voidwrite(ByteBufferWriter byteBufferWriter) Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface zombie.network.packets.IDescriptor
getClassDescription, getDescription, getDescriptionMethods inherited from interface zombie.network.fields.INetworkPacketField
getPacketSizeBytes
-
Field Details
-
item
-
duration
public long duration
-
-
Constructor Details
-
BuildAction
public BuildAction()
-
-
Method Details
-
set
public void set(IsoPlayer player, float float0, float float1, float float2, boolean boolean0, String string, KahluaTable table) -
start
public void start() -
stop
public void stop() -
isValid
public boolean isValid() -
isUsingTimeout
public boolean isUsingTimeout() -
getDuration
public float getDuration() -
update
public void update() -
perform
public boolean perform() -
parse
- Specified by:
parsein interfaceINetworkPacketField
-
write
- Specified by:
writein interfaceINetworkPacketField
-
setTimeData
public void setTimeData() -
set
-
setState
-
setDuration
public void setDuration(long arg0) -
isConsistent
- Specified by:
isConsistentin interfaceINetworkPacketField
-
getProgress
public float getProgress()
-