private void OnCellHighlighted(object sender, EventArgs e) { //TODO: Käy läpi kaikki naapurit... /*(sender as Cell).GetNeighbours(Cells).ForEach(each => { * //Värjätään kaikki cellit, joihin isketään AOE:lla * });*/ CellGridState.OnCellSelected(sender as Cell); }
private void OnCellHighlighted(object sender, EventArgs e) { CellGridState.OnCellSelected(sender as Cell); }
private void OnCellHighlighted(Cell cell) { CellGridState.OnCellSelected(cell); }