reworked Mark function to handle Clear function, fixed Goal class to adjusted address format, added shufflecellsfunction
This commit is contained in:
@@ -45,6 +45,7 @@ public partial class BusinessCard : TextureButton
|
||||
_goalMet = addresses.All(a=>ownedCells.Select(c=>c._address).ToList().IndexOf(a)>-1);
|
||||
if (_goalMet)
|
||||
{
|
||||
GD.Print(_goalName);
|
||||
Modulate = new Color(1,1,1,1);
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user