diff --git a/Phase2/Godot_Toolset/Main/middleware/GSAL/CORE/GSAL_Root.gd b/Phase2/Godot_Toolset/Main/middleware/GSAL/CORE/GSAL_Root.gd new file mode 100644 index 0000000..4a0479d --- /dev/null +++ b/Phase2/Godot_Toolset/Main/middleware/GSAL/CORE/GSAL_Root.gd @@ -0,0 +1,27 @@ +extends Node + + +func _ready(): + pass + + +# Things to add to the GSAL + +#Work of a precentage for the character sheets and the rules. Use the range like 1-10 or 1-100 + +##What do these two variables do? That was not clearly defined in the UML... +#var Action_Declared : Array +# +#var Situation_Mod : int +# +## What is the desired data that we want from these two Int values below +#var Defender_Results_Calculation : int +# +#var Opponent_Results_Calclation: int + +#func _Defender_VS_Opponent_Results(int): Matrix +#Matrix is not a built in datatype in Godot. How I am imagining us doing this is with a 2D or 3D array. +#Example Structure [[DefenderResults], [OpponentResults]] + + +#func _Outcome_Options(Matrix): List diff --git a/Phase2/Godot_Toolset/Main/middleware/conflictResults/conflictResults.gd b/Phase2/Godot_Toolset/Main/middleware/conflictResults/conflictResults.gd index af7f2a5..c13f26b 100644 --- a/Phase2/Godot_Toolset/Main/middleware/conflictResults/conflictResults.gd +++ b/Phase2/Godot_Toolset/Main/middleware/conflictResults/conflictResults.gd @@ -1,4 +1,4 @@ -extends Object +extends Node class_name ConflictResultsProcess @@ -8,22 +8,7 @@ class_name ConflictResultsProcess #How are we calculating initiatve. Are we going to pull the formula from the GSAL? var Initiative_Order : Array -#What do these two variables do? That was not clearly defined in the UML... -var Action_Declared : Array - -var Situation_Mod : int - -# What is the desired data that we want from these two Int values below -var Defender_Results_Calculation : int - -var Opponent_Results_Calclation: int - func _init(): pass -#func _Defender_VS_Opponent_Results(int): Matrix -#Matrix is not a built in datatype in Godot. How I am imagining us doing this is with a 2D or 3D array. -#Example Structure [[DefenderResults], [OpponentResults]] - -#func _Outcome_Options(Matrix): List diff --git a/Phase2/Godot_Toolset/Main/project.godot b/Phase2/Godot_Toolset/Main/project.godot index 1a401c9..cabbcbf 100644 --- a/Phase2/Godot_Toolset/Main/project.godot +++ b/Phase2/Godot_Toolset/Main/project.godot @@ -9,7 +9,7 @@ config_version=4 _global_script_classes=[ { -"base": "Object", +"base": "Node", "class": "ConflictResultsProcess", "language": "GDScript", "path": "res://middleware/conflictResults/conflictResults.gd"