Package zombie.popman

Class NetworkZombieSimulator

java.lang.Object
zombie.popman.NetworkZombieSimulator

public class NetworkZombieSimulator extends Object
  • Field Details

    • MAX_ZOMBIES_PER_UPDATE

      public static final int MAX_ZOMBIES_PER_UPDATE
      See Also:
  • Constructor Details

    • NetworkZombieSimulator

      public NetworkZombieSimulator()
  • Method Details

    • getInstance

      public static NetworkZombieSimulator getInstance()
    • getAuthorizedZombieCount

      public int getAuthorizedZombieCount()
    • getUnauthorizedZombieCount

      public int getUnauthorizedZombieCount()
    • clear

      public void clear()
    • addExtraUpdate

      public void addExtraUpdate(IsoZombie zombie)
    • add

      public void add(short onlineId)
    • added

      public void added()
    • becomeLocal

      public void becomeLocal(IsoZombie z)
    • becomeRemote

      public void becomeRemote(IsoZombie z)
    • isZombieSimulated

      public boolean isZombieSimulated(Short zombieId)
    • receivePacket

      public void receivePacket(ByteBuffer b, UdpConnection connection)
    • anyUnknownZombies

      public boolean anyUnknownZombies()
    • send

      public void send()
    • remove

      public void remove(IsoZombie zombie)
    • clearTargetAuth

      public void clearTargetAuth(IsoPlayer player)