示例#1
0
        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();
        }
示例#2
0
 void Manager_UIGridClick(object sender, CellClickEventArgs e)
 {
     e.Affected.BackColor = selectedColourPanel.BackColor;
 }
示例#3
0
 void PaletteManager_CellClick(object sender, CellClickEventArgs e)
 {
     selectedColourPanel.BackColor = e.Affected.BackColor;
 }