This repository has been archived on 2024-09-30. You can view files and clone it, but cannot push or open issues/pull-requests.
|
class_name BallButton
|
|
extends GroundButton
|
|
|
|
@export var ball: Ball
|
|
|
|
func _flip():
|
|
sprite.frame = 1 if is_active else 0
|
|
if is_active and ball and not ball.can_roll:
|
|
ball.can_roll = true
|