Skip to content

Planed additions

MEME-KING16 edited this page Oct 29, 2024 · 2 revisions

AI

Potential usage

   const enemyAI = new AI();
   enemyAI.on('detectPlayer', () => {
     // AI logic to chase the player
   });
   game.addAI(enemyAI);

Clone this wiki locally