reworking effects, turning them into their own scene for replicability

This commit is contained in:
2026-02-03 03:37:58 -05:00
parent 36b934b200
commit 435fbc7ba2
32 changed files with 321 additions and 172 deletions

View File

@@ -8,24 +8,21 @@ public partial class PhoneButton : TextureButton
public bool _isHovered = false;
public Phone _phone;
public Contact _contact;
public ProgressBar _progressBar;
public override void _Ready()
{
base._Ready();
_contact = GetNode<Contact>("Contact");
_contact._button = this;
_progressBar = GetNode<ProgressBar>("ProgressBar");
}
public override void _Pressed()
{
base._Pressed();
if (_contact._clickable)
{
_contact.CallAction();
}
}
// private void OnMouseEntered()
// {
// _isHovered = true;