-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathAnarchyCollabModule.cs
More file actions
39 lines (31 loc) · 1.25 KB
/
AnarchyCollabModule.cs
File metadata and controls
39 lines (31 loc) · 1.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
using System;
namespace Celeste.Mod.AnarchyCollab2022 {
public class AnarchyCollabModule : EverestModule {
public static AnarchyCollabModule Instance { get; private set; }
public static string Name => Instance?.Metadata?.Name;
//Settings, mainly for TetrisScreen
public override Type SettingsType => typeof(AnarchyCollabSettings);
public static AnarchyCollabSettings Settings => (AnarchyCollabSettings)Instance._Settings;
public AnarchyCollabModule() {
Instance = this;
}
public override void Load() {
TetrisScreen.Load();
Content.CrouchBlocker.Load();
Content.DemoDashButtonBlocker.Load();
JankTempleCustomEvent.Load();
ElevatorCutsceneUtils.Load();
FragmentsStarJumpBlock.Load();
SimplifiedGraphicsController.Load();
}
public override void Unload() {
TetrisScreen.Unload();
Content.CrouchBlocker.Unload();
Content.DemoDashButtonBlocker.Unload();
JankTempleCustomEvent.Unload();
ElevatorCutsceneUtils.Unload();
FragmentsStarJumpBlock.Unload();
SimplifiedGraphicsController.Unload();
}
}
}