Changeset 2000 for 2011/24


Ignore:
Timestamp:
2011-06-14 15:02:05 (8 years ago)
Author:
elalylon
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • 2011/24/EliasY/Pixel Quest/Pixel Quest/Pixel Quest/Peli.cs

    r1985 r2000  
    1010{ 
    1111    Image Tausta = LoadImage("TaustaKentta"); 
     12    Image kivikuva = LoadImage("kiviValmis"); 
    1213    public override void Begin() 
    1314    { 
     
    2526        PhysicsObject kivi = PhysicsObject.CreateStaticObject(x, y); 
    2627        kivi.Angle = RandomGen.NextAngle(); 
     28        kivi.Shape = Shape.FromImage(kivikuva); 
     29        kivi.Image = kivikuva; 
    2730        Add(kivi); 
    2831    } 
Note: See TracChangeset for help on using the changeset viewer.