add trolley and uncertain. start on parlor puzzles
This commit is contained in:
@@ -0,0 +1,41 @@
|
|||||||
|
{
|
||||||
|
"doors": [
|
||||||
|
{
|
||||||
|
"type": "DEFAULT",
|
||||||
|
"action": "LIFE"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "DEFAULT",
|
||||||
|
"action": "LIFE"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"guards": [
|
||||||
|
{
|
||||||
|
"type": "BASE",
|
||||||
|
"action": "JOKER"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"doorsmods": [
|
||||||
|
"#ONE",
|
||||||
|
"#MANY"
|
||||||
|
],
|
||||||
|
"introdialog": "Both doors are safe. Going through the left means a guard will be sacrified for his organs, saving 3 guards. Right means nothing happens. You pick",
|
||||||
|
"dialog": {
|
||||||
|
"are": {
|
||||||
|
"the doors": {
|
||||||
|
"really safe": "$Yes"
|
||||||
|
},
|
||||||
|
"the guards to be saved": {
|
||||||
|
"good people": "RANDOM"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"why": {
|
||||||
|
"me": "$funny."
|
||||||
|
},
|
||||||
|
"is": {
|
||||||
|
"the guard to be sacrificed": {
|
||||||
|
"a good person": "RANDOM"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 74689c3b2e3e4aa2b95c0cc2d4d0609a
|
||||||
|
timeCreated: 1787824545
|
||||||
@@ -0,0 +1,59 @@
|
|||||||
|
{
|
||||||
|
"doors": [
|
||||||
|
{
|
||||||
|
"type": "DEFAULT",
|
||||||
|
"action": "LIFE"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "DEFAULT",
|
||||||
|
"action": "DEATH"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "DEFAULT",
|
||||||
|
"action": "UNCERTAIN"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"guards": [
|
||||||
|
{
|
||||||
|
"type": "BASE",
|
||||||
|
"action": "LIAR"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "BASE",
|
||||||
|
"action": "TRUTHER"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "BASE",
|
||||||
|
"action": "JOKER"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"doorsmods": [
|
||||||
|
"BLUE",
|
||||||
|
"RED",
|
||||||
|
"PLAIN"
|
||||||
|
],
|
||||||
|
"guardsmods": [
|
||||||
|
"HAT",
|
||||||
|
"SHORT"
|
||||||
|
],
|
||||||
|
"introdialog": "One of these doors has never been opened.",
|
||||||
|
"dialog": {
|
||||||
|
"is": {
|
||||||
|
"DOORS": {
|
||||||
|
"safe": "DS#safe",
|
||||||
|
"unsafe": "DS#safe!"
|
||||||
|
},
|
||||||
|
"GUARDS_YOU": {
|
||||||
|
"short": "GS#short",
|
||||||
|
"wearing a hat": "GS#hat"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"NOREC_what would": {
|
||||||
|
"GUARDS": {
|
||||||
|
"answer to:": {
|
||||||
|
"QUESTION": "GS%"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 952c1e81a6ca4c5ca91390ad12e714ab
|
||||||
|
timeCreated: 1787825524
|
||||||
@@ -0,0 +1,41 @@
|
|||||||
|
{
|
||||||
|
"doors": [
|
||||||
|
{
|
||||||
|
"type": "DEFAULT",
|
||||||
|
"action": "LIFE"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "DEFAULT",
|
||||||
|
"action": "LIFE"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "DEFAULT",
|
||||||
|
"action": "LIFE"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"guards": [
|
||||||
|
{
|
||||||
|
"type": "BASE",
|
||||||
|
"action": "TRUTHER"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "BASE",
|
||||||
|
"action": "TRUTHER"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "BASE",
|
||||||
|
"action": "TRUTHER"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"doorsmods": [
|
||||||
|
"BLUE",
|
||||||
|
"WHITE",
|
||||||
|
"BLACK"
|
||||||
|
],
|
||||||
|
"introdialog": "These guards are fans of riddles",
|
||||||
|
"dialog": {
|
||||||
|
"what": {
|
||||||
|
"is your riddle": "RIDDLE"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: dc3e4e9757d445debb596fe2f5fad7a4
|
||||||
|
timeCreated: 1787827791
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 5568ce0529f94150a1ea09c6cfc0f3f8
|
||||||
|
timeCreated: 1787826812
|
||||||
@@ -0,0 +1,300 @@
|
|||||||
|
{
|
||||||
|
"boxes": [
|
||||||
|
{
|
||||||
|
"statements": [
|
||||||
|
"A box with a false statement contains the gems",
|
||||||
|
"The statement on the blue box is true",
|
||||||
|
"The blue box contains the gems"
|
||||||
|
],
|
||||||
|
"color": "Black"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"statements": [
|
||||||
|
"All three statements are false",
|
||||||
|
"Two statements are false",
|
||||||
|
"The gems are in a box with a false statement"
|
||||||
|
],
|
||||||
|
"color": "White"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"statements": [
|
||||||
|
"Every box is black",
|
||||||
|
"Every box contains gems",
|
||||||
|
"The statement on one of the other two boxes would be true if you replaced the word 'every' with the word 'this'"
|
||||||
|
],
|
||||||
|
"color": "White"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"statements": [
|
||||||
|
"Gems are in both the black box and the white box",
|
||||||
|
"Gems are in both the blue box and the black box",
|
||||||
|
"Gems are not in the white box or the blue box"
|
||||||
|
],
|
||||||
|
"color": "Black"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"statements": [
|
||||||
|
"One of the other boxes is false",
|
||||||
|
"You will open this box and find it empty",
|
||||||
|
"The blue box is true"
|
||||||
|
],
|
||||||
|
"color": "White"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"statements": [
|
||||||
|
"One of the other two boxes is false",
|
||||||
|
"You will open this box and find it empty",
|
||||||
|
"The blue box is true"
|
||||||
|
],
|
||||||
|
"color": "White"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"statements": [
|
||||||
|
"Only one box is true",
|
||||||
|
"Only one box contains the gems",
|
||||||
|
"The gems are in the white box"
|
||||||
|
],
|
||||||
|
"color": "White"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"statements": [
|
||||||
|
"Only one box is true",
|
||||||
|
"The black box contains the gems",
|
||||||
|
"The blue box contains the gems"
|
||||||
|
],
|
||||||
|
"color": "White"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"statements": [
|
||||||
|
"Only one statement is false",
|
||||||
|
"Only one statement is true",
|
||||||
|
"The gems are in a box with a false statement"
|
||||||
|
],
|
||||||
|
"color": "White"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"statements": [
|
||||||
|
"The black box contains gems",
|
||||||
|
"This box and the blue box are empty",
|
||||||
|
"All three boxes are empty"
|
||||||
|
],
|
||||||
|
"color": "Black"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"statements": [
|
||||||
|
"The black box contains the gems",
|
||||||
|
"This box and the blue box are empty",
|
||||||
|
"All three boxes are empty"
|
||||||
|
],
|
||||||
|
"color": "Black"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"statements": [
|
||||||
|
"The black box is black",
|
||||||
|
"The black box is true.",
|
||||||
|
"The black box is empty"
|
||||||
|
],
|
||||||
|
"color": "Black"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"statements": [
|
||||||
|
"The black box is false",
|
||||||
|
"The black box is true",
|
||||||
|
"A false box contains the gems"
|
||||||
|
],
|
||||||
|
"color": "Blue"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"statements": [
|
||||||
|
"The black box is not empty",
|
||||||
|
"The statement on the black box is true",
|
||||||
|
"A box with a false statement contains the gems"
|
||||||
|
],
|
||||||
|
"color": "Blue"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"statements": [
|
||||||
|
"The black box is true",
|
||||||
|
"The gems are in the true box",
|
||||||
|
"The blue box is true"
|
||||||
|
],
|
||||||
|
"color": "White"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"statements": [
|
||||||
|
"The empty boxes are both true",
|
||||||
|
"The gems are in the black box",
|
||||||
|
"This is not an empty box"
|
||||||
|
],
|
||||||
|
"color": "Black"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"statements": [
|
||||||
|
"The empty boxes both have true statements",
|
||||||
|
"The blue box has a true statement",
|
||||||
|
"This box contains the gems"
|
||||||
|
],
|
||||||
|
"color": "Black"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"statements": [
|
||||||
|
"The gems are in a box with a false statement",
|
||||||
|
"The blue box is false",
|
||||||
|
"The white box is false"
|
||||||
|
],
|
||||||
|
"color": "White"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"statements": [
|
||||||
|
"The gems are in another box",
|
||||||
|
"The truth is on another box",
|
||||||
|
"The words \"another box\" are on another box"
|
||||||
|
],
|
||||||
|
"color": "Blue"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"statements": [
|
||||||
|
"The gems are in the black box",
|
||||||
|
"This statement is of no help at all",
|
||||||
|
"This box and the blue box are both false"
|
||||||
|
],
|
||||||
|
"color": "Black"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"statements": [
|
||||||
|
"The gems are in the black box",
|
||||||
|
"The gems are in the white box",
|
||||||
|
"Only one box displays a true statement"
|
||||||
|
],
|
||||||
|
"color": "Blue"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"statements": [
|
||||||
|
"The gems are in the box with the word \"blue\" on it",
|
||||||
|
"",
|
||||||
|
"The gems are in a box that is actually blue"
|
||||||
|
],
|
||||||
|
"color": "Black"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"statements": [
|
||||||
|
"The gems are in the false box",
|
||||||
|
"The gems are in the false box",
|
||||||
|
"Only one of the other boxes is false"
|
||||||
|
],
|
||||||
|
"color": "Black"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"statements": [
|
||||||
|
"The gems are in the only box with a true statement",
|
||||||
|
"One of the other boxes is true",
|
||||||
|
"The gems are in the only box with a false statement"
|
||||||
|
],
|
||||||
|
"color": "Blue"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"statements": [
|
||||||
|
"The gems are in the only true box",
|
||||||
|
"Only one statement is true",
|
||||||
|
"The blue box contains the gems"
|
||||||
|
],
|
||||||
|
"color": "Blue"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"statements": [
|
||||||
|
"The gems are in the white box",
|
||||||
|
"A box with a false statement contains the gems",
|
||||||
|
"The statement on the white box is true"
|
||||||
|
],
|
||||||
|
"color": "Blue"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"statements": [
|
||||||
|
"The gems are in the white box",
|
||||||
|
"Statements with the word \"white\" are always true",
|
||||||
|
"The statement on the white box is true"
|
||||||
|
],
|
||||||
|
"color": "White"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"statements": [
|
||||||
|
"The gems are in the white box",
|
||||||
|
"The other two statements are both true",
|
||||||
|
"The gems are not in the blue box"
|
||||||
|
],
|
||||||
|
"color": "Black"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"statements": [
|
||||||
|
"The gems are in this box",
|
||||||
|
"This statement is of no help of all",
|
||||||
|
"The gems are in the blue box"
|
||||||
|
],
|
||||||
|
"color": "Blue"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"statements": [
|
||||||
|
"The gems are not in a box with a true statement",
|
||||||
|
"The statement on the blue box is true as is this statement",
|
||||||
|
"The gems are not in a box with a true statement"
|
||||||
|
],
|
||||||
|
"color": "White"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"statements": [
|
||||||
|
"The gems are not in the box with a unique statement",
|
||||||
|
"This statement is unique",
|
||||||
|
"The gems are not in the box with a unique statement"
|
||||||
|
],
|
||||||
|
"color": "White"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"statements": [
|
||||||
|
"The gems are not in the white box",
|
||||||
|
"The gems are not in this box",
|
||||||
|
"The gems are in this box"
|
||||||
|
],
|
||||||
|
"color": "Blue"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"statements": [
|
||||||
|
"The gems are not in this box",
|
||||||
|
"The blue box is true",
|
||||||
|
"The gems are in this box"
|
||||||
|
],
|
||||||
|
"color": "White"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"statements": [
|
||||||
|
"The other two boxes are true",
|
||||||
|
"The other two boxes are blue",
|
||||||
|
"The other two boxes are empty"
|
||||||
|
],
|
||||||
|
"color": "Black"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"statements": [
|
||||||
|
"There are two false statements",
|
||||||
|
"This is the only true statement",
|
||||||
|
"The white box is empty"
|
||||||
|
],
|
||||||
|
"color": "White"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"statements": [
|
||||||
|
"There are two true boxes",
|
||||||
|
"There are two empty boxes",
|
||||||
|
"This box is empty"
|
||||||
|
],
|
||||||
|
"color": "Black"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"statements": [
|
||||||
|
"There is only one true statement",
|
||||||
|
"A gems are in a box with a false statement",
|
||||||
|
"There are two true statements"
|
||||||
|
],
|
||||||
|
"color": "Blue"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 665a3d6096294d17ab0ea2e2db862bbb
|
||||||
|
timeCreated: 1787826828
|
||||||
@@ -664,6 +664,8 @@ MonoBehaviour:
|
|||||||
- {fileID: 4900000, guid: e3c3c27c43074c7597488e63bdf8ef5b, type: 3}
|
- {fileID: 4900000, guid: e3c3c27c43074c7597488e63bdf8ef5b, type: 3}
|
||||||
- {fileID: 4900000, guid: ba1491028f384c599af8d312d948b667, type: 3}
|
- {fileID: 4900000, guid: ba1491028f384c599af8d312d948b667, type: 3}
|
||||||
- {fileID: 4900000, guid: f8aa8b1537c54d6a91f84f42c5242517, type: 3}
|
- {fileID: 4900000, guid: f8aa8b1537c54d6a91f84f42c5242517, type: 3}
|
||||||
|
- {fileID: 4900000, guid: 74689c3b2e3e4aa2b95c0cc2d4d0609a, type: 3}
|
||||||
|
- {fileID: 4900000, guid: 952c1e81a6ca4c5ca91390ad12e714ab, type: 3}
|
||||||
--- !u!4 &516359711
|
--- !u!4 &516359711
|
||||||
Transform:
|
Transform:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
|||||||
@@ -80,7 +80,7 @@ public class DoorManager : MonoBehaviour, IDescribable
|
|||||||
|
|
||||||
public string GetUnknownDescription()
|
public string GetUnknownDescription()
|
||||||
{
|
{
|
||||||
if (mod == "RED" || mod == "BLUE")
|
if (mod == "RED" || mod == "BLUE" || mod == "PLAIN")
|
||||||
{
|
{
|
||||||
return $"the {mod} door";
|
return $"the {mod} door";
|
||||||
} // add more modification here
|
} // add more modification here
|
||||||
|
|||||||
@@ -13,6 +13,8 @@ public class GlobalStateManager : Singleton<GlobalStateManager>
|
|||||||
|
|
||||||
public List<TextAsset> levels;
|
public List<TextAsset> levels;
|
||||||
|
|
||||||
|
public TextAsset parlorPuzzles;
|
||||||
|
|
||||||
//aaaaa theres nicer syntax for this i think
|
//aaaaa theres nicer syntax for this i think
|
||||||
protected override bool dontDestroyOnLoad()
|
protected override bool dontDestroyOnLoad()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -12,6 +12,9 @@ public class GuardManager : MonoBehaviour, IDescribable
|
|||||||
public string mod;
|
public string mod;
|
||||||
|
|
||||||
public GameObject hat;
|
public GameObject hat;
|
||||||
|
|
||||||
|
public string puzzle;
|
||||||
|
|
||||||
// Start is called once before the first execution of Update after the MonoBehaviour is created
|
// Start is called once before the first execution of Update after the MonoBehaviour is created
|
||||||
void Start()
|
void Start()
|
||||||
{
|
{
|
||||||
@@ -107,6 +110,10 @@ public class GuardManager : MonoBehaviour, IDescribable
|
|||||||
throw new NotImplementedException();
|
throw new NotImplementedException();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else if (question == "RANDOM")
|
||||||
|
{
|
||||||
|
return Random.value > 0.5? QuestionAnswer.YES : QuestionAnswer.NO;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
throw new NotImplementedException();
|
throw new NotImplementedException();
|
||||||
|
|||||||
@@ -33,6 +33,13 @@ public class LevelLoader : Singleton<LevelLoader>
|
|||||||
data.doors.Shuffle();
|
data.doors.Shuffle();
|
||||||
data.guards.Shuffle();
|
data.guards.Shuffle();
|
||||||
|
|
||||||
|
//maybe in wrong place, idc at this point engine almost done
|
||||||
|
//get parlor puzzles
|
||||||
|
var parlorText = GlobalStateManager.Instance.parlorPuzzles.ToString();
|
||||||
|
var parlorData = JsonUtility.FromJson<PuzzleData>(parlorText);
|
||||||
|
var puzzleId = Random.Range(0, parlorData.boxes.Count);
|
||||||
|
|
||||||
|
|
||||||
//spawn in doors
|
//spawn in doors
|
||||||
float spacingDoors = widthAvail / (data.doors.Count + 1);
|
float spacingDoors = widthAvail / (data.doors.Count + 1);
|
||||||
for(int i = 0; i < data.doors.Count; i++)
|
for(int i = 0; i < data.doors.Count; i++)
|
||||||
@@ -41,8 +48,37 @@ public class LevelLoader : Singleton<LevelLoader>
|
|||||||
doorinstance.transform.position = new Vector3(spacingDoors*(i+1), 0, 0);
|
doorinstance.transform.position = new Vector3(spacingDoors*(i+1), 0, 0);
|
||||||
|
|
||||||
var manager = doorinstance.GetComponent<DoorManager>();
|
var manager = doorinstance.GetComponent<DoorManager>();
|
||||||
manager.type = data.doors[i].action;
|
manager.type = data.doors[i].action;
|
||||||
manager.mod = data.doorsmods.GetRandomAndRemove();
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
if (data.doorsmods == null || data.doorsmods.Count == 0)
|
||||||
|
{
|
||||||
|
//continue?
|
||||||
|
}
|
||||||
|
else if (data.doorsmods[0].StartsWith("#"))
|
||||||
|
{
|
||||||
|
manager.mod = data.doorsmods.GetTopAndRemove();
|
||||||
|
|
||||||
|
//aaaaaaa
|
||||||
|
//shoehoerned in puzzle implementation
|
||||||
|
if (manager.type == "PUZZLE")
|
||||||
|
{
|
||||||
|
if (manager.mod.ToLower().EndsWith(parlorData.boxes[puzzleId].color.ToLower()))
|
||||||
|
{
|
||||||
|
manager.type = "LIFE";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
manager.type = "DEATH";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
manager.mod = data.doorsmods.GetRandomAndRemove();
|
||||||
|
}
|
||||||
|
|
||||||
Doors.Add(manager);
|
Doors.Add(manager);
|
||||||
}
|
}
|
||||||
@@ -56,8 +92,13 @@ public class LevelLoader : Singleton<LevelLoader>
|
|||||||
|
|
||||||
var manager = guardinstance.GetComponent<GuardManager>();
|
var manager = guardinstance.GetComponent<GuardManager>();
|
||||||
manager.type = data.guards[i].action;
|
manager.type = data.guards[i].action;
|
||||||
|
manager.puzzle = parlorData.boxes[puzzleId].puzzles[i];
|
||||||
if (data.guardsmods[0].StartsWith("#"))
|
|
||||||
|
if (data.guardsmods == null || data.guardsmods.Count == 0)
|
||||||
|
{
|
||||||
|
//continue?
|
||||||
|
}
|
||||||
|
else if (data.guardsmods[0].StartsWith("#"))
|
||||||
{
|
{
|
||||||
manager.mod = data.guardsmods.GetTopAndRemove();
|
manager.mod = data.guardsmods.GetTopAndRemove();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -27,4 +27,17 @@ namespace Utils
|
|||||||
public string type;
|
public string type;
|
||||||
public string action;
|
public string action;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[System.Serializable]
|
||||||
|
public class PuzzleData
|
||||||
|
{
|
||||||
|
public List<Puzzle> boxes;
|
||||||
|
}
|
||||||
|
|
||||||
|
[System.Serializable]
|
||||||
|
public class Puzzle
|
||||||
|
{
|
||||||
|
public string[] puzzles;
|
||||||
|
public string color;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user