Ignore:
Timestamp:
2011-08-02 13:08:29 (8 years ago)
Author:
eskuniem
Message:

Talletus.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 2011/31/EsaN/DevOid/DevOid/DevOid/Peli.cs

    r2489 r2493  
    1111    public override void Begin() 
    1212    { 
     13        LuoSaari(1000, 1750, 480, -400, 0); 
     14 
     15    } 
     16 
     17    void LuoSaari (double leveys, double korkeus, double x, double y, double rotation) 
     18    { 
     19        Image Saari1k = LoadImage("Saari1k"); 
     20 
     21        PhysicsObject saari1 = new PhysicsObject(leveys, korkeus); 
     22        saari1.X = x; 
     23        saari1.Y = y; 
     24        saari1.Angle = Angle.FromDegrees(rotation); 
     25        saari1.Image = Saari1k; 
     26        Add (saari1); 
     27 
    1328 
    1429    } 
Note: See TracChangeset for help on using the changeset viewer.