Example #1
0
 public BombermanServerToClientPacket(List <BombPacketData> otherPlayerBombs, PlayerPacketData otherPlayer)
 //public BombermanServerToClientPacket(PlayerPacketData otherPlayer)
 {
     this.type             = PacketType.BOMBERMAN_SERVER_TO_CLIENT;
     this.otherPlayerBombs = otherPlayerBombs;
     this.otherPlayer      = otherPlayer;
 }
Example #2
0
 public BombermanClientToServerPacket(List <BombPacketData> bombsPlaced, PlayerPacketData player)
 //public BombermanClientToServerPacket(PlayerPacketData player)
 {
     this.type        = PacketType.BOMBERMAN_CLIENT_TO_SERVER;
     this.bombsPlaced = bombsPlaced;
     this.player      = player;
 }