Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
Failframeit
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FrameIT
Failframeit
Commits
cdca11e6
Commit
cdca11e6
authored
4 years ago
by
John Schihada
Browse files
Options
Downloads
Patches
Plain Diff
Changes for making the game running again
parent
44735002
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Assets/Scripts/InventoryStuff/ScrollDetails.cs
+1
-1
1 addition, 1 deletion
Assets/Scripts/InventoryStuff/ScrollDetails.cs
Assets/Scripts/JSONManager.cs
+7
-11
7 additions, 11 deletions
Assets/Scripts/JSONManager.cs
with
8 additions
and
12 deletions
Assets/Scripts/InventoryStuff/ScrollDetails.cs
+
1
−
1
View file @
cdca11e6
...
...
@@ -376,7 +376,7 @@ private void readPushout(string txt)
int
pid1
=
getIdforBackendURI
(
f
.
left
);
int
pid2
=
getIdforBackendURI
(
f
.
middle
);
int
pid3
=
getIdforBackendURI
(
f
.
right
);
AngleFact
af
=
new
AngleFact
(
id
,
pid1
,
pid2
,
pid3
,
f
.
uri
,
f
.
value
);
AngleFact
af
=
new
AngleFact
(
);
//
id, pid1, pid2, pid3, f.uri, f.value);
CommunicationEvents
.
Facts
.
Insert
(
id
,
af
);
CommunicationEvents
.
AddFactEvent
.
Invoke
(
af
);
CommunicationEvents
.
PushoutFactEvent
.
Invoke
(
af
);
...
...
This diff is collapsed.
Click to expand it.
Assets/Scripts/JSONManager.cs
+
7
−
11
View file @
cdca11e6
...
...
@@ -22,17 +22,7 @@ public static class JSONManager
{
//could init the strings of MMTURIs with JSON or other settings file instead
public
static
MMTURICollection
MMTURIs
=
new
MMTURICollection
();
/*
public static Dictionary<string, string> URIDictionary = new Dictionary<string, string> {
{"point", "http://mathhub.info/MitM/core/geometry?3DGeometry?point" },
{"tuple", "http://gl.mathhub.info/MMT/LFX/Sigma?Symbols?Tuple"},
{"line", "http://mathhub.info/MitM/core/geometry?Geometry/Common?line_type" },
{"distance", "http://mathhub.info/MitM/core/geometry?Geometry/Common?lineOf" }
};
*/
[
JsonConverter
(
typeof
(
JsonSubtypes
),
"kind"
)]
public
class
MMTTerm
{
...
...
@@ -101,6 +91,9 @@ public static string ToJson(MMTDeclaration mmtDecl)
}
}
/**
* MMTSymbolDeclaration: Class for facts without values, e.g. Points
**/
public
class
MMTSymbolDeclaration
:
MMTDeclaration
{
public
string
label
;
...
...
@@ -115,6 +108,9 @@ public MMTSymbolDeclaration(string label, MMTTerm tp, MMTTerm df)
}
}
/**
* MMTValueDeclaration: Class for facts with values, e.g. Distances or Angles
**/
public
class
MMTValueDeclaration
:
MMTDeclaration
{
public
string
label
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment