Browse Source

MB Dev Notes added

combat-2
MagicBot 7 months ago
parent
commit
4b67f97ded
  1. 8
      src/engine/mobileAI/Threads/Respawner.java

8
src/engine/mobileAI/Threads/Respawner.java

@ -16,7 +16,15 @@ import java.util.concurrent.BlockingQueue; @@ -16,7 +16,15 @@ import java.util.concurrent.BlockingQueue;
import java.util.concurrent.DelayQueue;
public enum Respawner implements Runnable {
// MB Dev Notes:
//
// Thread acts as a throttle for messages to the client. Mobiles are
// respawned over a short time so as not to flood the client when
// an entire camp respawns at once.
RESPAWNER;
public static BlockingQueue<Mob> respawnQueue = new DelayQueue();
@Override

Loading…
Cancel
Save