refactor: 渲染系统的部分目录结构

This commit is contained in:
AncTe committed 2025-01-31 13:00:47 +08:00
1 parent ed229e1601
commit 69da048438
15 files changed
+83 -59

No files matched your search

+3 -2
View File
@@ -20,8 +20,8 @@ import {
} from './towerBossProjectile';
import { IStateDamageable } from '@/game/state/interface';
import { HeroRenderer } from '@/core/render/preset/hero';
import { controller } from '@/module/weather';
import { Pop } from '../fx/pop';
import { WeatherController } from '@/module';
Mota.require('var', 'loading').once('coreInit', () => {
const shader = new Shader();
@@ -401,7 +401,8 @@ export class TowerBoss extends BarrageBoss {
this.skill4Time = 5;
this.skill5Time = 3;
core.playBgm('towerBoss2.opus');
controller.activate('rain', 6);
const weather = WeatherController.get('main');
weather?.activate('rain', 6);
}
releaseSkill4() {