void TileListManager_CellClick(object sender, CellClickEventArgs e) { var tile = tileManager.GetTile(); tileListManager.SetTile(tileList_x, tileList_y, tile); tileList_x = e.Affected.X; tileList_y = e.Affected.Y; tileManager.SetTile(tileListManager.GetTile(tileList_x, tileList_y)); tileListManager.Invalidate(); }
void Manager_UIGridClick(object sender, CellClickEventArgs e) { e.Affected.BackColor = selectedColourPanel.BackColor; }
void PaletteManager_CellClick(object sender, CellClickEventArgs e) { selectedColourPanel.BackColor = e.Affected.BackColor; }