add runwon and runlost functions, default win cards, call button that calls a loaded contact, added rotatecells, shiftcells, and swapcells functions to actor, reworked address to be 0-8 instead of 1-9, added underscore naming convention to function parameters, business cards to be slightly transparent when not met, added actions to contacts and made a couple examples
This commit is contained in:
19
Gameplay/CallButton.cs
Normal file
19
Gameplay/CallButton.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using Godot;
|
||||
using System;
|
||||
|
||||
public partial class CallButton : TextureButton
|
||||
{
|
||||
public bool _isHovered = false;
|
||||
public Phone _phone;
|
||||
|
||||
public override void _Ready()
|
||||
{
|
||||
base._Ready();
|
||||
}
|
||||
|
||||
public override void _Pressed()
|
||||
{
|
||||
base._Pressed();
|
||||
_phone.CallLoadedContact();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user