Files
Juan Pablo Arce 3f2c843247 Unstable v0.19.3.0
2022-09-02 15:10:56 -03:00

16 lines
658 B
C#

namespace Barotrauma
{
[RequiredByCorePackage]
sealed class TutorialsFile : GenericPrefabFile<TutorialPrefab>
{
protected override PrefabCollection<TutorialPrefab> Prefabs => TutorialPrefab.Prefabs;
public TutorialsFile(ContentPackage contentPackage, ContentPath path) : base(contentPackage, path) { }
protected override bool MatchesSingular(Identifier identifier) => identifier == "Tutorial";
protected override bool MatchesPlural(Identifier identifier) => identifier == "Tutorials";
protected override TutorialPrefab CreatePrefab(ContentXElement element) => new TutorialPrefab(this, element);
}
}