forked from CommunalHelper/FactoryHelper
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFactoryHelperModule.cs
More file actions
35 lines (28 loc) · 1.1 KB
/
FactoryHelperModule.cs
File metadata and controls
35 lines (28 loc) · 1.1 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
using Celeste;
using Celeste.Mod;
using Monocle;
using System;
namespace FactoryHelper {
public class FactoryHelperModule : EverestModule {
public static FactoryHelperModule Instance;
public FactoryHelperModule() {
Instance = this;
}
public static SpriteBank SpriteBank { get; private set; }
public static FactoryHelperSession Session => (FactoryHelperSession)Instance._Session;
public static FactoryHelperSaveData SaveData => (FactoryHelperSaveData)Instance._SaveData;
public override Type SettingsType => null;
public override Type SaveDataType => typeof(FactoryHelperSaveData);
public override Type SessionType => typeof(FactoryHelperSession);
public override void LoadContent(bool firstLoad) {
base.LoadContent(firstLoad);
SpriteBank = new SpriteBank(GFX.Game, "Graphics/FactoryHelper/Sprites.xml");
}
public override void Load() {
FactoryHelperHooks.Load();
}
public override void Unload() {
FactoryHelperHooks.Unload();
}
}
}