|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.golden.gamedev.engine.network.NetworkPacket moagg.network.packet.UpdateObjectPacket
public class UpdateObjectPacket
Field Summary | |
---|---|
int |
id
|
float |
vx
|
float |
vy
|
short |
x
|
short |
y
|
Fields inherited from class com.golden.gamedev.engine.network.NetworkPacket |
---|
NETWORK_PACKET_TYPE, NULL_ID, STRING_TYPE, useComma |
Constructor Summary | |
---|---|
UpdateObjectPacket()
|
Method Summary | |
---|---|
int |
getId()
|
float |
getVX()
|
float |
getVY()
|
short |
getX()
|
short |
getY()
|
void |
setId(int id)
|
void |
setVX(float vx)
|
void |
setVY(float vy)
|
void |
setX(short x)
|
void |
setY(short y)
|
Methods inherited from class com.golden.gamedev.engine.network.NetworkPacket |
---|
clone, consume, generateCode, getCode, getExpiredTime, getID, getSender, getUniqueCode, isCompressed, isConsumed, isExpired, isSendCode, isSendSender, read, readPacket, setCode, setCode, setCompressed, setConsumed, setExpiredTime, setID, setSendCode, setSender, setSender, setSendSender, toString, write, writePacket |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public int id
public short x
public short y
public float vx
public float vy
Constructor Detail |
---|
public UpdateObjectPacket()
Method Detail |
---|
public int getId()
public void setId(int id)
public short getX()
public void setX(short x)
public short getY()
public void setY(short y)
public float getVX()
public void setVX(float vx)
public float getVY()
public void setVY(float vy)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |