Package zombie.network.packets.hit
Class Square
java.lang.Object
zombie.network.packets.hit.Square
- All Implemented Interfaces:
IPositional
,INetworkPacket
-
Field Summary
Modifier and TypeFieldDescriptionprotected float
protected float
protected float
protected IsoGridSquare
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfloat
getX()
float
getY()
float
getZ()
boolean
void
parse
(ByteBuffer byteBuffer, UdpConnection udpConnection) void
set
(IsoGameCharacter gameCharacter) void
set
(IsoGridSquare square) void
write
(ByteBufferWriter byteBufferWriter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
parse
in interfaceINetworkPacket
-
write
- Specified by:
write
in interfaceINetworkPacket
-
getDescription
- Specified by:
getDescription
in interfaceINetworkPacket
-
getX
public float getX()- Specified by:
getX
in interfaceIPositional
-
getY
public float getY()- Specified by:
getY
in interfaceIPositional
-
getZ
public float getZ() -
getSquare
-
isConsistent
public boolean isConsistent()- Specified by:
isConsistent
in interfaceINetworkPacket
-