first commit
This commit is contained in:
30
Gameplay/PhoneButton.cs
Normal file
30
Gameplay/PhoneButton.cs
Normal file
@@ -0,0 +1,30 @@
|
||||
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);
|
||||
// }
|
||||
}
|
||||
Reference in New Issue
Block a user