From 147fee75cd0dd4c7d7c44a39643287bdddadcaf0 Mon Sep 17 00:00:00 2001 From: Hoang Tran <99.hoangtran@gmail.com> Date: Fri, 28 Jul 2023 08:08:46 +0700 Subject: [PATCH] . --- src/game/managers/ObjectManager.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/game/managers/ObjectManager.js b/src/game/managers/ObjectManager.js index eb1a342..39cc04e 100644 --- a/src/game/managers/ObjectManager.js +++ b/src/game/managers/ObjectManager.js @@ -1,3 +1,4 @@ +import { System } from '../../../libs/detect-collisions.js'; import SpellObject from '../gameObject/SpellObject.js'; import Champion from '../gameObject/attackableUnits/Champion.js'; import AttackableUnit from '../gameObject/attackableUnits/AttackableUnit.js'; @@ -17,6 +18,7 @@ const DisplayZIndex = [ ]; export default class ObjectManager { + system = new System(); objects = []; _objectToBeAdd = []; _objectsTree = null;