moagg.network.packet
Class CreateShipPacket
java.lang.Object
com.golden.gamedev.engine.network.NetworkPacket
moagg.network.packet.CreateShipPacket
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable
public class CreateShipPacket
- extends com.golden.gamedev.engine.network.NetworkPacket
- See Also:
- Serialized Form
Fields inherited from class com.golden.gamedev.engine.network.NetworkPacket |
NETWORK_PACKET_TYPE, NULL_ID, STRING_TYPE, useComma |
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 |
id
public short id
name
public java.lang.String name
shipType
public int shipType
fuel
public int fuel
armor
public int armor
x
public short x
y
public short y
vx
public float vx
vy
public float vy
angle
public short angle
thrust
public boolean thrust
CreateShipPacket
public CreateShipPacket()
getId
public short getId()
setId
public void setId(short id)
getX
public short getX()
setX
public void setX(short x)
getY
public short getY()
setY
public void setY(short y)
getVX
public float getVX()
setVX
public void setVX(float vx)
getVY
public float getVY()
setVY
public void setVY(float vy)
getAngle
public short getAngle()
setAngle
public void setAngle(short angle)
isThrust
public boolean isThrust()
setThrust
public void setThrust(boolean thrust)
getName
public java.lang.String getName()
setName
public void setName(java.lang.String name)
getShipType
public int getShipType()
setShipType
public void setShipType(int shipType)
getFuel
public int getFuel()
setFuel
public void setFuel(int fuel)
getArmor
public int getArmor()
setArmor
public void setArmor(int armor)
Copyright © 2008. All Rights Reserved.