Saturday, 31 January 2026 01:00:43

This commit is contained in:
2026-01-31 01:00:45 -05:00
parent d9d33f9758
commit 672e91d381
38 changed files with 374 additions and 424 deletions

View File

@@ -9,7 +9,7 @@ public partial class Dragon : Enemy
// public Board _board;
public List<Mook> _mooks;
// public Player _playerOpponent;
// public Cell _cell;
// public Shield _shield;
public override void _Ready()
{
@@ -18,8 +18,8 @@ public partial class Dragon : Enemy
for (int i = 0; i < _mooks.Count; i++)
{
_mooks[i]._owner = this;
_mooks[i]._number = _board._cells[i]._address;
_board._cells[i]._tenant = _mooks[i];
_mooks[i]._number = _board._shields[i]._address;
_board._shields[i]._tenant = _mooks[i];
}
}
@@ -35,8 +35,8 @@ public partial class Dragon : Enemy
}
public override void ClickCell(Cell CLICKED_CELL)
public override void ClickShield(Shield CLICKED_SHIELD)
{
_playerOpponent.Challenge(CLICKED_CELL._tenant);
_playerOpponent.Challenge(CLICKED_SHIELD._tenant);
}
}