Files
mod_rpg/src/State/RpgStateReset.cs
T
cthangover 5ca225a2d7 RPG world mod: tile maps, grid walking, map events, battles
Maps of square tiles in three layers plus a collision layer, mounted over
the 2D shell when their scene is entered. WASD walking, E/F action events,
touch teleports, story-flag conditions, random encounters, rpg.battle and
rpg.teleport actions, position saving. Integration suite rpg_walk.
2026-10-21 13:22:18 +02:00

15 lines
447 B
C#

using Cthangover.Core.Bootstrap;
namespace Cthangover.Mods.Rpg
{
/// <summary>New game: the player starts at the spawn of the entry map.</summary>
public class RpgStateReset : IResettable
{
/// <summary>Deduplication key in <see cref="AppServices"/>.</summary>
public string Id => "rpg";
/// <summary>Forgets the position.</summary>
public void ResetForNewGame() => RpgState.Instance.Reset();
}
}