moagg.network.packet
Class UpdateShipPacket

java.lang.Object
  extended by com.golden.gamedev.engine.network.NetworkPacket
      extended by moagg.network.packet.UpdateShipPacket
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class UpdateShipPacket
extends com.golden.gamedev.engine.network.NetworkPacket

See Also:
Serialized Form

Field Summary
 short angle
           
 int armor
           
 int fuel
           
 int fuelCapacity
           
 short id
           
 boolean landed
           
 java.lang.String rotation
           
 boolean thrust
           
 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
UpdateShipPacket()
           
 
Method Summary
 short getAngle()
           
 int getArmor()
           
 int getFuel()
           
 int getFuelCapacity()
           
 short getId()
           
 java.lang.String getRotation()
           
 float getVX()
           
 float getVY()
           
 short getX()
           
 short getY()
           
 boolean isLanded()
           
 boolean isThrust()
           
 void setAngle(short angle)
           
 void setArmor(int armor)
           
 void setFuel(int fuel)
           
 void setFuelCapacity(int fuelCapacity)
           
 void setId(short id)
           
 void setLanded(boolean landed)
           
 void setRotation(java.lang.String rotation)
           
 void setThrust(boolean thrust)
           
 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

id

public short id

x

public short x

y

public short y

vx

public float vx

vy

public float vy

angle

public short angle

rotation

public java.lang.String rotation

landed

public boolean landed

thrust

public boolean thrust

fuelCapacity

public int fuelCapacity

fuel

public int fuel

armor

public int armor
Constructor Detail

UpdateShipPacket

public UpdateShipPacket()
Method Detail

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)

getRotation

public java.lang.String getRotation()

setRotation

public void setRotation(java.lang.String rotation)

isLanded

public boolean isLanded()

setLanded

public void setLanded(boolean landed)

isThrust

public boolean isThrust()

setThrust

public void setThrust(boolean thrust)

getFuelCapacity

public int getFuelCapacity()

setFuelCapacity

public void setFuelCapacity(int fuelCapacity)

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.