Added GunPowder Animation

This commit is contained in:
Arthur
2022-12-10 17:27:56 +01:00
parent c99a1530a2
commit 57c19def26
9 changed files with 95 additions and 9 deletions

View File

@@ -2,10 +2,13 @@ extends Module
class_name Storage
enum TYPE {AMMO, GUNPOWDER, FUEL}
enum TYPE {CANNONBALL, GUNPOWDER, COAL}
@export var currentType: TYPE
#------------Methods-------------#
func _ready():
var root = get_tree().root.get_child(0)

View File

@@ -84,4 +84,6 @@ func fill_inventory(type):
0:
walking = "walking_ball"
idle = "idle_ball"
1:
walking = "walking_powder"
idle = "idle_powder"