public void HitByBomb() { /* Increase the number of bombs*/ NumberOfBombs++; /* Call the event handler */ OnHitByBomb?.Invoke(this); }
public void HitByBomb() { this.Status = GridSquareStatus.Miss; OnHitByBomb?.Invoke(this); this.NumberOfBombs++; //this.Status = GridSquareStatus.Miss; }