Files
ichni_Official/Assets/Scripts/Story/StorySave.cs

53 lines
1.4 KiB
C#
Raw Normal View History

2025-06-03 02:42:28 -04:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Ichni.Story
{
2025-06-13 14:59:58 -04:00
public class StoryBlockSave
2025-06-03 02:42:28 -04:00
{
2025-06-13 14:59:58 -04:00
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;
}
2025-06-06 10:14:55 -04:00
}
2025-06-13 14:59:58 -04:00
public class TutorialBlockSave : StoryBlockSave
2025-06-06 10:14:55 -04:00
{
2025-06-13 14:59:58 -04:00
public TutorialBlockSave(string blockName, Vector2 position, StoryBlockState state) : base(blockName, position, state)
2025-06-06 10:14:55 -04:00
{
}
}
2025-06-13 14:59:58 -04:00
public class DialogBlockSave : StoryBlockSave
{
public DialogBlockSave(string blockName, Vector2 position, StoryBlockState state) : base(blockName, position, state)
{
}
}
public class SongBlockSave : StoryBlockSave
2025-06-06 10:14:55 -04:00
{
2025-06-13 14:59:58 -04:00
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;
}
2025-06-03 02:42:28 -04:00
}
}