OnCellSelected() public method

public OnCellSelected ( Cell, cell ) : void
cell Cell,
return void
Example #1
0
    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);
    }
Example #2
0
 private void OnCellHighlighted(object sender, EventArgs e)
 {
     CellGridState.OnCellSelected(sender as Cell);
 }
Example #3
0
 private void OnCellHighlighted(Cell cell)
 {
     CellGridState.OnCellSelected(cell);
 }