File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,8 +25,6 @@ import FallenOverlord from "../Entity/Boss/FallenOverlord";
2525import FallenBooster from "../Entity/Boss/FallenBooster" ;
2626import Defender from "../Entity/Boss/Defender" ;
2727
28- import TankBody from "../Entity/Tank/TankBody" ;
29-
3028import { bossSpawningInterval } from "../config" ;
3129import { VectorAbstract } from "../Physics/Vector" ;
3230
@@ -46,12 +44,10 @@ export default class BossManager {
4644 }
4745
4846 public findBossSpawnLocation ( ) : VectorAbstract {
49- // TODO confirm this? seems accurate to me so far - X
5047 const width = this . arena . width / 2 ;
5148 const height = this . arena . height / 2 ;
5249
5350 const pos = this . arena . findSpawnLocation ( width , height ) ;
54-
5551 return pos ;
5652 }
5753
@@ -67,7 +63,6 @@ export default class BossManager {
6763 const deleteMixin = this . boss . delete . bind ( this . boss ) ;
6864 this . boss . delete = ( ) => {
6965 deleteMixin ( ) ;
70-
7166 // Reset arena boss
7267 this . boss = null ;
7368 }
@@ -78,6 +73,4 @@ export default class BossManager {
7873 this . spawnBoss ( ) ;
7974 }
8075 }
81-
8276}
83-
You can’t perform that action at this time.
0 commit comments