OnCellSelected() public method

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