-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
34f849b
commit 091f724
Showing
3 changed files
with
114 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,36 @@ | ||
using Celeste.Mod.ShatteringStrawberries.Components; | ||
using System; | ||
|
||
namespace Celeste.Mod.ShatteringStrawberries { | ||
public class ShatteringStrawberriesModule : EverestModule { | ||
public static ShatteringStrawberriesModule Instance { get; private set; } | ||
namespace Celeste.Mod.ShatteringStrawberries; | ||
|
||
public override Type SettingsType => typeof(ShatteringStrawberriesModuleSettings); | ||
public static ShatteringStrawberriesModuleSettings Settings => (ShatteringStrawberriesModuleSettings) Instance._Settings; | ||
public class ShatteringStrawberriesModule : EverestModule | ||
{ | ||
public static ShatteringStrawberriesModule Instance { get; private set; } | ||
|
||
public ShatteringStrawberriesModule() { | ||
Instance = this; | ||
} | ||
public override Type SettingsType => typeof(ShatteringStrawberriesModuleSettings); | ||
public static ShatteringStrawberriesModuleSettings Settings => (ShatteringStrawberriesModuleSettings)Instance._Settings; | ||
|
||
public override void Load() { | ||
Hooks.Hook(); | ||
} | ||
public ShatteringStrawberriesModule() | ||
{ | ||
Instance = this; | ||
} | ||
|
||
public override void Load() | ||
{ | ||
Hooks.Hook(); | ||
} | ||
|
||
public override void LoadContent(bool firstLoad) { | ||
base.LoadContent(firstLoad); | ||
public override void LoadContent(bool firstLoad) | ||
{ | ||
base.LoadContent(firstLoad); | ||
|
||
Strawberries.InitializeContent(); | ||
Players.InitializeContent(); | ||
DebrisLiquid.InitializeContent(); | ||
} | ||
Strawberries.InitializeContent(); | ||
Players.InitializeContent(); | ||
DebrisLiquid.InitializeContent(); | ||
} | ||
|
||
public override void Unload() { | ||
Hooks.Unhook(); | ||
} | ||
public override void Unload() | ||
{ | ||
Hooks.Unhook(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters