Changeset 2264 for 2011/26


Ignore:
Timestamp:
2011-06-29 11:34:32 (8 years ago)
Author:
saselamp
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • 2011/26/JimiL/Pelit/pelit22/world of Chuckland fix fix/world of Chuckland fix fix/Peli.cs

    r2260 r2264  
    2323    Image lehtiKuva = LoadImage("lehti"); 
    2424    Image vesiKuva = LoadImage("vesi"); 
     25    Image pilvikuva = LoadImage("pilvi"); 
    2526 
    2627 
     
    5152        kentta['^'] = lisaametalli; 
    5253        kentta[';'] = lisaavesi; 
     54        kentta['B'] = lisaapilvi 
    5355 
    5456 
     
    5658        Level.CreateBorders(); 
    5759        Level.Background.CreateGradient(Color.White, Color.SkyBlue); 
     60    } 
     61    PhysicsObject lisaapilvi() 
     62    { 
     63        PhysicsObject pilvi = PhysicsObject.CreateStaticObject(50, 50); 
     64        pilvi.Image = pilviKuva; 
     65        pilvi.Tag = "pilvi"; 
     66 
     67        Add(pilvi); 
     68        return pilvi; 
    5869    } 
    5970    PhysicsObject lisaametalli() 
Note: See TracChangeset for help on using the changeset viewer.