private void OriginalSeaGridChanged(object sender, TileEventArgs e) { AdapterChanged(this, e); }
private void AdapterChanged(object sender, TileEventArgs e) { Changed?.Invoke(this, e); }
private void tileHandler(object sender, TileEventArgs e) { Changed?.Invoke(this, e); }
/// # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # /// E V E N T F U N C T I O N S E V E N T F U N C T I O N S E V E N T F U N C T I O N S E V /// # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # private void SeaGridChanged(object sender, TileEventArgs e) { //clicker = (SeaGridAdapter)sender; shotRow = e.X; shotCol = e.Y; }
private void TileChanged(object sender, TileEventArgs e) { GridChanged(this, e); }