Package zombie.network.packets.hit
Class Square
java.lang.Object
zombie.network.packets.hit.Square
- All Implemented Interfaces:
IPositional,INetworkPacket
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected floatprotected floatprotected floatprotected IsoGridSquare -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatgetX()floatgetY()floatgetZ()booleanvoidparse(ByteBuffer byteBuffer, UdpConnection udpConnection) voidset(IsoGameCharacter gameCharacter) voidset(IsoGridSquare square) voidwrite(ByteBufferWriter byteBufferWriter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface zombie.network.packets.INetworkPacket
getPacketSizeBytes, log
-
Field Details
-
positionX
protected float positionX -
positionY
protected float positionY -
positionZ
protected float positionZ -
square
-
-
Constructor Details
-
Square
public Square()
-
-
Method Details
-
set
-
set
-
parse
- Specified by:
parsein interfaceINetworkPacket
-
write
- Specified by:
writein interfaceINetworkPacket
-
getDescription
- Specified by:
getDescriptionin interfaceINetworkPacket
-
getX
public float getX()- Specified by:
getXin interfaceIPositional
-
getY
public float getY()- Specified by:
getYin interfaceIPositional
-
getZ
public float getZ() -
getSquare
-
isConsistent
public boolean isConsistent()- Specified by:
isConsistentin interfaceINetworkPacket
-