Ignore:
Timestamp:
2016-06-08 15:02:44 (5 years ago)
Author:
sieerinn
Message:

Pelaajille laitettu animaatiot

File:
1 edited

Legend:

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

    r7208 r7209  
    88{ 
    99    private GameObject glow; 
    10     //private GameObject overlay; 
    1110 
    12     public Tile(double width, double height) : base(width, height) 
     11    public Tile(double width, double height, Vector position) : base(width, height) 
    1312    { 
     13        this.Position = position; 
     14 
    1415        glow = new GameObject(width * 7, height * 7); 
    1516        glow.IsVisible = false; 
    16         Add(glow); 
    17  
    18         //overlay = new GameObject(width, height); 
    19         //overlay.IsVisible = false; 
    20         //Add(overlay); 
     17        glow.Position = position; 
     18        Game.Instance.Add(glow, 3); 
    2119    } 
    2220 
Note: See TracChangeset for help on using the changeset viewer.