using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Ichni.Story { public class StoryBlockSave { public string blockName; public Vector2 position; public StoryBlockState state; public StoryBlockSave(string blockName, Vector2 position, StoryBlockState state) { this.blockName = blockName; this.state = state; this.position = position; } } public class TutorialBlockSave : StoryBlockSave { public TutorialBlockSave(string blockName, Vector2 position, StoryBlockState state) : base(blockName, position, state) { } } public class DialogBlockSave : StoryBlockSave { public DialogBlockSave(string blockName, Vector2 position, StoryBlockState state) : base(blockName, position, state) { } } public class SongBlockSave : StoryBlockSave { public SongBlockSave(string blockName, Vector2 position, StoryBlockState state) : base(blockName, position, state) { } } public class BlockConnectorSave { public string startBlockName; public string endBlockName; public BlockConnectorSave(string startBlockName, string endBlockName) { this.startBlockName = startBlockName; this.endBlockName = endBlockName; } } }