Update template_spawnable.gd

This commit is contained in:
Victor Turgeon 2023-10-10 15:02:48 -04:00
parent de268f1784
commit 6ffda00bb4

View File

@ -10,6 +10,8 @@ extends CharacterBody2D
@onready var ai : Node = $AI
@onready var animatedSprite : AnimatedSprite2D = $AnimatedSprite2D
@onready var attackCollision : CollisionShape2D = $Attack/AttackCollision
@onready var damageCollision : CollisionShape2D = $Attack/DamageCollision
var isAlive : bool = true
var isFacingLeft : bool = false