Saturday, 31 January 2026 01:00:43
This commit is contained in:
@@ -82,13 +82,21 @@ public partial class Player : Actor
|
||||
_debug.Text = "YOU WIN!!";
|
||||
}
|
||||
|
||||
// public bool CheckWin(List<Cell> CELLS)
|
||||
public void StartBattle()
|
||||
{
|
||||
for (int i = 0; i < _phone._phoneButtons.Count; i++)
|
||||
{
|
||||
_phone._phoneButtons[i]._contact.Start();
|
||||
}
|
||||
}
|
||||
|
||||
// public bool CheckWin(List<Shield> SHIELDS)
|
||||
// {
|
||||
// foreach (Goal.GoalName cond in _goal._eligibleGoals)
|
||||
// {
|
||||
// foreach (List<int> condList in _goal._conditions[cond])
|
||||
// {
|
||||
// // if (condList.All(a=>CELLS.FirstOrDefault<Cell>(c=>c._address == a, null)?._owner == this))
|
||||
// // if (condList.All(a=>SHIELDS.FirstOrDefault<Shield>(c=>c._address == a, null)?._owner == this))
|
||||
// // {
|
||||
// // return true;
|
||||
// // }
|
||||
@@ -96,10 +104,10 @@ public partial class Player : Actor
|
||||
// }
|
||||
// return false;
|
||||
// }
|
||||
// public void MarkCell(Cell CELL)
|
||||
// public void MarkShield(Shield SHIELD)
|
||||
// {
|
||||
// CELL._mark.Texture = _mark.Texture;
|
||||
// // CELL._owner = this;
|
||||
// SHIELD._mark.Texture = _mark.Texture;
|
||||
// // SHIELD._owner = this;
|
||||
// }
|
||||
|
||||
public override void _Process(double delta)
|
||||
|
||||
Reference in New Issue
Block a user