-
Notifications
You must be signed in to change notification settings - Fork 8
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
Showing
9 changed files
with
68 additions
and
68 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
using MonoMod.ModInterop; | ||
|
||
namespace Celeste.Mod.CelesteMod { | ||
/// <summary> | ||
/// Provides export functions for other mods to import. | ||
/// If you do not need to export any functions, delete this class and the corresponding call | ||
/// to ModInterop() in <see cref="CelesteModModule.Load"/> | ||
/// </summary> | ||
[ModExportName("CelesteMod")] | ||
public static class CelesteModExports { | ||
// TODO: add your mod's exports, if required | ||
} | ||
} | ||
namespace Celeste.Mod.CelesteMod; | ||
|
||
/// <summary> | ||
/// Provides export functions for other mods to import. | ||
/// If you do not need to export any functions, delete this class and the corresponding call | ||
/// to ModInterop() in <see cref="CelesteModModule.Load"/> | ||
/// </summary> | ||
[ModExportName("CelesteMod")] | ||
public static class CelesteModExports { | ||
// TODO: add your mod's exports, if required | ||
} |
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,5 +1,5 @@ | ||
namespace Celeste.Mod.CelesteMod { | ||
public class CelesteModModuleSaveData : EverestModuleSaveData { | ||
namespace Celeste.Mod.CelesteMod; | ||
|
||
} | ||
} | ||
public class CelesteModModuleSaveData : EverestModuleSaveData { | ||
|
||
} |
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,5 +1,5 @@ | ||
namespace Celeste.Mod.CelesteMod { | ||
public class CelesteModModuleSession : EverestModuleSession { | ||
namespace Celeste.Mod.CelesteMod; | ||
|
||
} | ||
} | ||
public class CelesteModModuleSession : EverestModuleSession { | ||
|
||
} |
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,5 +1,5 @@ | ||
namespace Celeste.Mod.CelesteMod { | ||
public class CelesteModModuleSettings : EverestModuleSettings { | ||
namespace Celeste.Mod.CelesteMod; | ||
|
||
} | ||
} | ||
public class CelesteModModuleSettings : EverestModuleSettings { | ||
|
||
} |
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,12 +1,12 @@ | ||
using Celeste.Mod.Entities; | ||
using Microsoft.Xna.Framework; | ||
|
||
namespace Celeste.Mod.CelesteMod.Entities { | ||
[CustomEntity("CelesteMod/SampleActor")] | ||
public class SampleActor : Actor { | ||
public SampleActor(EntityData data, Vector2 offset) | ||
: base(data.Position + offset) { | ||
// TODO: read properties from data | ||
} | ||
namespace Celeste.Mod.CelesteMod.Entities; | ||
|
||
[CustomEntity("CelesteMod/SampleActor")] | ||
public class SampleActor : Actor { | ||
public SampleActor(EntityData data, Vector2 offset) | ||
: base(data.Position + offset) { | ||
// TODO: read properties from data | ||
} | ||
} | ||
} |
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,12 +1,12 @@ | ||
using Celeste.Mod.Entities; | ||
using Microsoft.Xna.Framework; | ||
|
||
namespace Celeste.Mod.CelesteMod.Entities { | ||
[CustomEntity("CelesteMod/SampleSolid")] | ||
public class SampleSolid : Solid { | ||
public SampleSolid(EntityData data, Vector2 offset) | ||
: base(data.Position + offset, data.Width, data.Height, true) { | ||
// TODO: read properties from data | ||
} | ||
namespace Celeste.Mod.CelesteMod.Entities; | ||
|
||
[CustomEntity("CelesteMod/SampleSolid")] | ||
public class SampleSolid : Solid { | ||
public SampleSolid(EntityData data, Vector2 offset) | ||
: base(data.Position + offset, data.Width, data.Height, true) { | ||
// TODO: read properties from data | ||
} | ||
} | ||
} |
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,11 +1,11 @@ | ||
using Celeste.Mod.Entities; | ||
using Microsoft.Xna.Framework; | ||
|
||
namespace Celeste.Mod.CelesteMod.Triggers { | ||
[CustomEntity("CelesteMod/SampleTrigger")] | ||
public class SampleTrigger : Trigger { | ||
public SampleTrigger(EntityData data, Vector2 offset) : base(data, offset) { | ||
// TODO: read properties from data | ||
} | ||
namespace Celeste.Mod.CelesteMod.Triggers; | ||
|
||
[CustomEntity("CelesteMod/SampleTrigger")] | ||
public class SampleTrigger : Trigger { | ||
public SampleTrigger(EntityData data, Vector2 offset) : base(data, offset) { | ||
// TODO: read properties from data | ||
} | ||
} | ||
} |