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:
7
Gameplay/Contacts/Rotate90.cs
Normal file
7
Gameplay/Contacts/Rotate90.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
public partial class Rotate90 : Contact
|
||||
{
|
||||
public override void CallAction()
|
||||
{
|
||||
_player.RotateCells(2);
|
||||
}
|
||||
}
|
||||
1
Gameplay/Contacts/Rotate90.cs.uid
Normal file
1
Gameplay/Contacts/Rotate90.cs.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://dtv3bqpuf0y33
|
||||
7
Gameplay/Contacts/ShiftBack2.cs
Normal file
7
Gameplay/Contacts/ShiftBack2.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
public partial class ShiftBack2 : Contact
|
||||
{
|
||||
public override void CallAction()
|
||||
{
|
||||
_player.ShiftCells(-2);
|
||||
}
|
||||
}
|
||||
1
Gameplay/Contacts/ShiftBack2.cs.uid
Normal file
1
Gameplay/Contacts/ShiftBack2.cs.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://c14om0rrrui02
|
||||
7
Gameplay/Contacts/Swap1And6.cs
Normal file
7
Gameplay/Contacts/Swap1And6.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
public partial class Swap1And6 : Contact
|
||||
{
|
||||
public override void CallAction()
|
||||
{
|
||||
_player.SwapCells(1-1,6-1);
|
||||
}
|
||||
}
|
||||
1
Gameplay/Contacts/Swap1And6.cs.uid
Normal file
1
Gameplay/Contacts/Swap1And6.cs.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://bl37rkfpucd5e
|
||||
Reference in New Issue
Block a user