Build 1.1.4.0
This commit is contained in:
+15
@@ -0,0 +1,15 @@
|
||||
namespace Barotrauma
|
||||
{
|
||||
sealed class SlideshowsFile : GenericPrefabFile<SlideshowPrefab>
|
||||
{
|
||||
protected override PrefabCollection<SlideshowPrefab> Prefabs => SlideshowPrefab.Prefabs;
|
||||
|
||||
public SlideshowsFile(ContentPackage contentPackage, ContentPath path) : base(contentPackage, path) { }
|
||||
|
||||
protected override bool MatchesSingular(Identifier identifier) => identifier == "Slideshow";
|
||||
|
||||
protected override bool MatchesPlural(Identifier identifier) => identifier == "Slideshows";
|
||||
|
||||
protected override SlideshowPrefab CreatePrefab(ContentXElement element) => new SlideshowPrefab(this, element);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user