diff --git a/Cannon.gd b/Cannon.gd new file mode 100644 index 0000000..841fef3 --- /dev/null +++ b/Cannon.gd @@ -0,0 +1,11 @@ +extends Module + +class_name Cannon + + + +#------------Methods-------------# + +#TODO: FINISH +func interact(): + pass diff --git a/Module.gd b/Module.gd index 6f4a51b..2867d47 100644 --- a/Module.gd +++ b/Module.gd @@ -1,5 +1,6 @@ extends Node +class_name Module #-----------Parameters----------------' var currentStashValue = 0 : set = _set_currentStashValue, get = _get_currentStashValue diff --git a/project.godot b/project.godot index 40c705b..e993081 100644 --- a/project.godot +++ b/project.godot @@ -8,6 +8,22 @@ config_version=5 +_global_script_classes=[{ +"base": "Module", +"class": &"Cannon", +"language": &"GDScript", +"path": "res://Cannon.gd" +}, { +"base": "Node", +"class": &"Module", +"language": &"GDScript", +"path": "res://Module.gd" +}] +_global_script_class_icons={ +"Cannon": "", +"Module": "" +} + [application] config/name="Semester Game Jam 2022"