Ignore:
Timestamp:
2016-06-09 09:18:14 (5 years ago)
Author:
sieerinn
Message:

Pelaaja muutettu PlatformCharacteriksi? ja aikalaskuri lisätty

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 2016/23/ohjaajat/Punasininen/Punasininen/Punasininen/Tile.cs

    r7209 r7212  
    1919    } 
    2020 
    21     public void SetColor(Image[] animation, Image glowImage, Color newColor) 
     21    public void SetColor(Image[] animation, Image glowImage, Color newColor, Action colorChanged) 
    2222    { 
    2323        var overlay = new GameObject(Width, Height); 
     
    2929            this.Color = newColor; 
    3030            overlay.Destroy(); 
     31 
     32            if (colorChanged != null) 
     33            { 
     34                colorChanged(); 
     35            } 
    3136        }; 
    3237        overlay.Animation.Start(); 
Note: See TracChangeset for help on using the changeset viewer.