chill out bro:

This commit is contained in:
pennyrigate 2025-03-01 19:49:37 -05:00
parent cbbf55a48a
commit ddd02953da
10 changed files with 178 additions and 7 deletions

View file

@ -10,6 +10,14 @@ extends CharacterBody2D
@export var state_chart: StateChart
@export var graphics: Node2D
var ices_touched:int = 0:
set(value):
ices_touched = value
if ices_touched <= 0:
ices_touched = 0
state_chart.send_event(&"ground_touched")
else:
state_chart.send_event(&"ice_touched")
#region Notifications
func _ready() -> void: