com.cliffblaster.game.net.packet
Class Packet6PlayerPosition

java.lang.Object
  extended by com.cliffblaster.game.net.packet.Packet
      extended by com.cliffblaster.game.net.packet.Packet6PlayerPosition

public class Packet6PlayerPosition
extends Packet


Field Summary
 int id
           
 float x
           
 float xrot
           
 float y
           
 float yrot
           
 float z
           
 
Fields inherited from class com.cliffblaster.game.net.packet.Packet
opToPacket, packetToOp, PROTOCOL_VERSION
 
Constructor Summary
Packet6PlayerPosition()
           
Packet6PlayerPosition(int id, float x, float y, float z, float xrot, float yrot)
           
 
Method Summary
 Packet cloneTypeOnly()
           
 void onIncoming(java.io.DataInputStream in, NetworkHandler networkHandler)
           
 void sendPacket(java.io.DataOutputStream out)
           
 
Methods inherited from class com.cliffblaster.game.net.packet.Packet
getId, registerPacket, toBytes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

public int id

x

public float x

y

public float y

z

public float z

xrot

public float xrot

yrot

public float yrot
Constructor Detail

Packet6PlayerPosition

public Packet6PlayerPosition()

Packet6PlayerPosition

public Packet6PlayerPosition(int id,
                             float x,
                             float y,
                             float z,
                             float xrot,
                             float yrot)
Method Detail

onIncoming

public void onIncoming(java.io.DataInputStream in,
                       NetworkHandler networkHandler)
                throws java.io.IOException
Overrides:
onIncoming in class Packet
Throws:
java.io.IOException

sendPacket

public void sendPacket(java.io.DataOutputStream out)
                throws java.io.IOException
Overrides:
sendPacket in class Packet
Throws:
java.io.IOException

cloneTypeOnly

public Packet cloneTypeOnly()
Specified by:
cloneTypeOnly in class Packet