Files
tictactoe/Gameplay/PhoneButton.cs
2026-01-19 17:44:00 -05:00

31 lines
623 B
C#

using Godot;
using System;
public partial class PhoneButton : TextureButton
{
// [Signal]
// public delegate void HoverEventHandler(Cell THISCELL, bool ISHOVERED);
public bool _isHovered = false;
public Phone _phone;
public Contact _contact;
public override void _Ready()
{
base._Ready();
_contact = GetNode<Contact>("Contact");
}
// private void OnMouseEntered()
// {
// _isHovered = true;
// EmitSignal(SignalName.Hover, this, _isHovered);
// }
// private void OnMouseExited()
// {
// _isHovered = false;
// EmitSignal(SignalName.Hover, this, _isHovered);
// }
}