moagg.game
Class MultiPlayerPacketConverter
java.lang.Object
moagg.game.MultiPlayerPacketConverter
public class MultiPlayerPacketConverter
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultiPlayerPacketConverter
public MultiPlayerPacketConverter()
createCreateShipPacket
public CreateShipPacket createCreateShipPacket(MultiPlayerClientData data)
createUpdateShipPacket
public UpdateShipPacket createUpdateShipPacket(MultiPlayerClientData data)
createUpdateFragsPacket
public UpdateFragsPacket createUpdateFragsPacket(java.util.Collection<MultiPlayerClientData> datas)
createCreateBlasterProjectilePacket
public CreateBlasterProjectilePacket createCreateBlasterProjectilePacket(ShootableObject shootable)
createDisconnectPacket
public DisconnectPacket createDisconnectPacket(MultiPlayerClientData data)
createUpdateControlPacket
public UpdateControlPacket createUpdateControlPacket(Ship player,
boolean shoot)
handleCreateShipPacket
public void handleCreateShipPacket(CreateShipPacket packet,
Ship ship)
handleUpdateShipPacket
public void handleUpdateShipPacket(UpdateShipPacket packet,
Ship ship)
handleCreateBlasterProjectilePacket
public Projectile handleCreateBlasterProjectilePacket(CreateBlasterProjectilePacket packet)
Copyright © 2008. All Rights Reserved.