Skip to content
Snippets Groups Projects
Commit 10f1f75d authored by MaZiFAU's avatar MaZiFAU
Browse files

added support for RiverScrollSimple

parent bf46b919
No related branches found
No related tags found
No related merge requests found
......@@ -284,7 +284,7 @@ public static void GenerateSlingShotStage()
string GravURI = StageStatic.stage.solution.Add(
new PointFact(new Vector3(0, -9.81f, 0), Vector3.down),
out _, false, null, null);
//StageStatic.stage.solution.ExposedSolutionFacts.Add(GravURI);
StageStatic.stage.solution.ExposedSolutionFacts.Add(GravURI);
string BounceURI = StageStatic.stage.solution.Add(
new RealLitFact(0.8f),
......@@ -312,7 +312,7 @@ public static void GenerateSlingShotStage()
// Set Gadgets/ Scrolls
StageStatic.stage.AllowedGadgets = null;
StageStatic.stage.AllowedScrolls = new() { MMTConstants.ScrollRiver, MMTConstants.ScrollCannonBallT3D };
StageStatic.stage.AllowedScrolls = new() { MMTConstants.ScrollRiverSimple, MMTConstants.ScrollRiver, MMTConstants.ScrollCannonBallT3D };
StageStatic.stage.solution.ScrollOverwrites.Add(MMTConstants.ScrollCannonBallT3D, new[] {
(GravURI, 2, false),
......@@ -322,6 +322,9 @@ public static void GenerateSlingShotStage()
StageStatic.stage.solution.ScrollOverwrites.Add(MMTConstants.ScrollRiver, new[] {
(GravURI, 4, false),
});
StageStatic.stage.solution.ScrollOverwrites.Add(MMTConstants.ScrollRiverSimple, new[] {
(GravURI, 2, true),
});
// Save
StageStatic.SetMode(StageStatic.Mode.Create);
......
......@@ -130,6 +130,7 @@ public static class MMTConstants
public const string ScrollCannonBall3D = "http://mathhub.info/FrameIT/frameworld?W3DBouncingScroll";
public const string ScrollCannonBallT3D = "http://mathhub.info/FrameIT/frameworld?T3DBouncingScroll";
public const string ScrollRiver = "http://mathhub.info/FrameIT/frameworld?RiverScroll";
public const string ScrollRiverSimple = "http://mathhub.info/FrameIT/frameworld?RiverScrollSimple";
/// <summary>
/// <remark>Needs to map to primitives where possible!</remark>
......
......@@ -9,7 +9,8 @@
"ExposedSolutionFacts": [
"http://mathhub.info/FrameIT/frameworld?DefaultSituationSpace/SituationTheory1?fact181",
"http://mathhub.info/FrameIT/frameworld?DefaultSituationSpace/SituationTheory1?fact182",
"http://mathhub.info/FrameIT/frameworld?DefaultSituationSpace/SituationTheory1?fact183"
"http://mathhub.info/FrameIT/frameworld?DefaultSituationSpace/SituationTheory1?fact183",
"http://mathhub.info/FrameIT/frameworld?DefaultSituationSpace/SituationTheory1?fact179"
],
"ScrollOverwrites": {
"http://mathhub.info/FrameIT/frameworld?T3DBouncingScroll": [
......@@ -35,6 +36,13 @@
"Item2": 4,
"Item3": false
}
],
"http://mathhub.info/FrameIT/frameworld?RiverScrollSimple": [
{
"Item1": "http://mathhub.info/FrameIT/frameworld?DefaultSituationSpace/SituationTheory1?fact179",
"Item2": 2,
"Item3": true
}
]
},
"ImmutableFacts": [
......@@ -2662,6 +2670,7 @@
"record_index": null,
"solution_approches": [],
"AllowedScrolls": [
"http://mathhub.info/FrameIT/frameworld?RiverScrollSimple",
"http://mathhub.info/FrameIT/frameworld?RiverScroll",
"http://mathhub.info/FrameIT/frameworld?T3DBouncingScroll"
],
......
......@@ -22500,6 +22500,33 @@
"acquiredFacts": []
},
{
"ref": "http://mathhub.info/FrameIT/frameworld?RiverScrollSimple",
"label": "RiverScrollSimple",
"description": "River.Simple.",
"requiredFacts": [
{
"ref": {
"uri": "http://mathhub.info/FrameIT/frameworld?RiverScrollSimple/Problem?S"
},
"kind": "general"
},
{
"ref": {
"uri": "http://mathhub.info/FrameIT/frameworld?RiverScrollSimple/Problem?F"
},
"kind": "general"
},
{
"ref": {
"uri": "http://mathhub.info/FrameIT/frameworld?RiverScrollSimple/Problem?G"
},
"kind": "general"
}
],
"acquiredFacts": []
},
{
"ref": "http://mathhub.info/FrameIT/frameworld?CircleLineAngleScroll",
"label": "CircleLineAngleScroll",
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment