Files
aibis-dream/Assets/Scripts/Clue/Clue.cs
T

28 lines
607 B
C#

using UnityEngine;
public enum ClueType
{
PunchTape,
ImageClue,
// 添加其他类型
}
public abstract class Clue
{
public string Category { get; set; }
public string ClueName { get; set; }
public ClueType ClueType { get; protected set; }
public string MatchCode { get; set; }
//public int PuzzleIndex { get; set; }
public Clue(string category, string name,string matchCode=null)
{
Category = category;
ClueName = name;
MatchCode=matchCode;
//PuzzleIndex=puzzleIndex;
}
public abstract void Display(ClueItem clueitem);
}