Ignore:
Timestamp:
2016-07-27 14:48:01 (3 years ago)
Author:
almajono
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • 2016/30/AleksiN/name/name/name/name.cs

    r8161 r8163  
    1818 
    1919        SmoothTextures = true; 
    20         IsFullScreen = true; 
     20        //IsFullScreen = true; 
    2121 
    2222        AddPlayer(); 
    2323        Points(); 
    2424        Keys(); 
    25          
     25 
    2626        Surface level = Surface.CreateBottom(Level, 30, 100, 10, 100); 
    2727        Add(level); 
     
    3030        Wind = new Vector(-25, 0); 
    3131        Smoke smoke = new Smoke(); 
    32          
    33         Timer savu = new Timer(); 
    34         savu.Interval = 0.1; 
    35         savu.Timeout += delegate 
    36         { 
    37             smoke.Position = bike.Objects[0].Position; 
    38         }; 
    39         savu.Start(); 
     32        Timer smokeTimer = new Timer(); 
     33        smokeTimer.Interval = 0.1; 
     34        smokeTimer.Timeout += delegate { smoke.Position = bike.Objects[0].Position; }; 
     35        smokeTimer.Start(); 
    4036        Add(smoke); 
    4137 
    4238    } 
     39 
    4340    void AddPlayer() 
    4441    { 
     
    8885        Add(pointLabel); 
    8986    } 
     87 
    9088} 
Note: See TracChangeset for help on using the changeset viewer.