From 4b67f97dedd6819c5dc247e476a6b8aeac8ec27b Mon Sep 17 00:00:00 2001 From: MagicBot Date: Fri, 26 Apr 2024 08:21:15 -0400 Subject: [PATCH] MB Dev Notes added --- src/engine/mobileAI/Threads/Respawner.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/engine/mobileAI/Threads/Respawner.java b/src/engine/mobileAI/Threads/Respawner.java index b5471c8a..73ca78f8 100644 --- a/src/engine/mobileAI/Threads/Respawner.java +++ b/src/engine/mobileAI/Threads/Respawner.java @@ -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 respawnQueue = new DelayQueue(); @Override