Update Cannon.gd Comments

This commit is contained in:
Arthur
2022-12-10 01:22:07 +01:00
parent cb6e7382fc
commit 4a1b2887a8

View File

@@ -13,6 +13,7 @@ func _ready():
#TODO: FINISH #TODO: FINISH
func interact(): func interact():
if currentState == STATE.INACTIVE: if currentState == STATE.INACTIVE:
#TODO: RELOADING
if currentStashValue < maxStashValue: if currentStashValue < maxStashValue:
currentState = STATE.RELOADING currentState = STATE.RELOADING
currentStashValue = maxStashValue currentStashValue = maxStashValue
@@ -23,6 +24,6 @@ func interact():
func _on_signal_shooting(): func _on_signal_shooting():
if currentStashValue == 1: if currentStashValue == 1:
currentState = STATE.SHOOTING currentState = STATE.SHOOTING
#TODO shooting #TODO: SHOOTING
currentState = STATE.INACTIVE currentState = STATE.INACTIVE
pass pass