moagg.network.packet
Class CreateBlasterProjectilePacket

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

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

See Also:
Serialized Form

Field Summary
 short health
           
 int projectileId
           
 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
CreateBlasterProjectilePacket()
           
 
Method Summary
 short getHealth()
           
 int getProjectileId()
           
 float getVX()
           
 float getVY()
           
 short getX()
           
 short getY()
           
 void setHealth(short health)
           
 void setProjectileId(int projectileId)
           
 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

projectileId

public int projectileId

x

public short x

y

public short y

vx

public float vx

vy

public float vy

health

public short health
Constructor Detail

CreateBlasterProjectilePacket

public CreateBlasterProjectilePacket()
Method Detail

getProjectileId

public int getProjectileId()

setProjectileId

public void setProjectileId(int projectileId)

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)

getHealth

public short getHealth()

setHealth

public void setHealth(short health)


Copyright © 2008. All Rights Reserved.