Package zombie.network.packets.hit
Class Square
java.lang.Object
zombie.network.packets.hit.Square
- All Implemented Interfaces:
IPositional
,INetworkPacket
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfloat
getX()
float
getY()
float
getZ()
boolean
void
parse
(ByteBuffer b, UdpConnection connection) void
set
(IsoGameCharacter character) void
set
(IsoGridSquare _square) void
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface zombie.network.packets.INetworkPacket
getPacketSizeBytes, log
-
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
-