Package zombie.network.packets.hit
Class Hit
java.lang.Object
zombie.network.packets.hit.Hit
- All Implemented Interfaces:
- INetworkPacket
- Direct Known Subclasses:
- VehicleHit,- WeaponHit
public abstract class Hit extends java.lang.Object implements INetworkPacket
- 
Field SummaryFields Modifier and Type Field Description protected floatdamageprotected floathitDirectionXprotected floathitDirectionYprotected floathitForceprotected booleanignore
- 
Constructor SummaryConstructors Constructor Description Hit()
- 
Method SummaryModifier and Type Method Description java.lang.StringgetDescription()voidparse(java.nio.ByteBuffer byteBuffer)voidset(boolean boolean1, float float1, float float2, float float3, float float4)voidwrite(ByteBufferWriter byteBufferWriter)Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface zombie.network.packets.INetworkPacketgetPacketSizeBytes, isConsistent
- 
Field Details- 
ignoreprotected boolean ignore
- 
damageprotected float damage
- 
hitForceprotected float hitForce
- 
hitDirectionXprotected float hitDirectionX
- 
hitDirectionYprotected float hitDirectionY
 
- 
- 
Constructor Details- 
Hitpublic Hit()
 
- 
- 
Method Details- 
setpublic void set(boolean boolean1, float float1, float float2, float float3, float float4)
- 
parsepublic void parse(java.nio.ByteBuffer byteBuffer)- Specified by:
- parsein interface- INetworkPacket
 
- 
write- Specified by:
- writein interface- INetworkPacket
 
- 
getDescriptionpublic java.lang.String getDescription()- Specified by:
- getDescriptionin interface- INetworkPacket
 
 
-