moagg.network.packet
Class UpdateControlPacket

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

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

See Also:
Serialized Form

Field Summary
 java.lang.String rotation
           
 boolean shoot
           
 boolean thrust
           
 
Fields inherited from class com.golden.gamedev.engine.network.NetworkPacket
NETWORK_PACKET_TYPE, NULL_ID, STRING_TYPE, useComma
 
Constructor Summary
UpdateControlPacket()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 Rotation getRotation()
           
 int hashCode()
           
 boolean isShoot()
           
 boolean isThrust()
           
 void setRotation(Rotation rotation)
           
 void setShoot(boolean shoot)
           
 void setThrust(boolean thrust)
           
 
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
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

thrust

public boolean thrust

rotation

public java.lang.String rotation

shoot

public boolean shoot
Constructor Detail

UpdateControlPacket

public UpdateControlPacket()
Method Detail

setThrust

public void setThrust(boolean thrust)

isThrust

public boolean isThrust()

setRotation

public void setRotation(Rotation rotation)

getRotation

public Rotation getRotation()

setShoot

public void setShoot(boolean shoot)

isShoot

public boolean isShoot()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2008. All Rights Reserved.