mirror of
https://github.com/PfandBoss/SemesterGameJam2022.git
synced 2025-11-12 04:16:12 +01:00
Yeah
This commit is contained in:
@@ -7,7 +7,7 @@ enum STATE {INACTIVE, RELOADING, SHOOTING}
|
||||
#------------Methods-------------#
|
||||
func _ready():
|
||||
var root = get_tree().root.get_child(0)
|
||||
root.timeout.connect("shooting",self,"_on_signal_shooting")
|
||||
root.shooting.connect(_on_signal_shooting)
|
||||
maxStashValue = 1
|
||||
currentStashValue = 0
|
||||
currentState = STATE.INACTIVE
|
||||
|
||||
6
cannon.tscn
Normal file
6
cannon.tscn
Normal file
@@ -0,0 +1,6 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://d2g0of2prwwj4"]
|
||||
|
||||
[ext_resource type="Script" path="res://Cannon.gd" id="1_mopo1"]
|
||||
|
||||
[node name="Cannon" type="Node"]
|
||||
script = ExtResource("1_mopo1")
|
||||
Reference in New Issue
Block a user