New rain and thunder effects added

This commit is contained in:
Mal
2024-12-14 12:09:49 +01:00
parent a583005814
commit f6ebd8f3aa
14 changed files with 183 additions and 11 deletions

View File

@@ -30,12 +30,16 @@ import TilorswiftSavedEvent from "./events/TilorswiftSavedEvent.js";
import Level from "../../js/Level.js";
import {IntelligentBrushSwitch} from "./menu/IntelligentBrushSwitch.js";
import {SnowEffect} from "../../js/effects/SnowEffect.js";
import {RainEffect} from "../../js/effects/RainEffect.js";
import {ThunderstormEffect} from "../../js/effects/ThunderstormEffect.js";
import {FullscreenEffectFactory} from "../../js/effects/FullscreenEffectFactory.js";
export default class Tilorswift
{
static EFFECT_NAMES = {
[SnowEffect.NAME]: 'Schnee',
[RainEffect.NAME]: 'Regen',
[ThunderstormEffect.NAME]: 'Gewitter',
}
constructor(level) {
@@ -320,9 +324,7 @@ export default class Tilorswift
new DialogEffects(
FullscreenEffectFactory.getNames(),
effects,
{
[SnowEffect.NAME]: 'Schnee',
}
Tilorswift.EFFECT_NAMES,
);
}
);