mirror of
https://github.com/PfandBoss/SemesterGameJam2022.git
synced 2025-11-12 04:16:12 +01:00
Update Cannon.gd Comments
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user