Changeset 253 for onni_m/Aliohjelmia


Ignore:
Timestamp:
2009-08-04 13:04:51 (11 years ago)
Author:
joonalmo
Message:

Pong valmis : ) ja lumiukkoo alotin

File:
1 edited

Legend:

Unmodified
Added
Removed
  • onni_m/Aliohjelmia/Peli.cs

    r238 r253  
    2626            PhysicsObject pallo = new PhysicsObject(40.0, ympyra); 
    2727            Level.Objects.Add(pallo); 
     28            pallo.X = 20; 
     29            pallo.Y = 10; 
     30 
     31            IShape ympyra2 = Shapes.CreateCircle(80.0); 
     32            PhysicsObject pallo2 = new PhysicsObject(40.0, ympyra); 
     33            Level.Objects.Add(pallo2); 
     34 
    2835    
    2936        } 
Note: See TracChangeset for help on using the changeset viewer.