Saturday, 31 January 2026 01:00:43
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user