Changeset 1333 for 2010/30/johulkko


Ignore:
Timestamp:
2010-07-27 14:58:04 (9 years ago)
Author:
johulkko
Message:

tausta

Location:
2010/30/johulkko
Files:
24 added
1 edited

Legend:

Unmodified
Added
Removed
  • 2010/30/johulkko/pong/Peli.cs

    r1312 r1333  
    66public class Peli : PhysicsGame 
    77{ 
    8     Vector nopeusYlos = new Vector(0, 400); 
    9     Vector nopeusAlas = new Vector(0,400); 
     8    Vector nopeusYlos = new Vector(0, 500); 
     9    Vector nopeusAlas = new Vector(0, -500); 
    1010 
    1111    PhysicsObject pallo;  
     
    3131    void LuoKentta() 
    3232    { 
    33         pallo = new PhysicsObject(20.0, 20.0); 
     33        pallo = new PhysicsObject(21.0, 20.0); 
    3434        pallo.Shape = Shapes.Circle; 
    3535        Add(pallo); 
     
    169169    void KasittelePallonTormays(PhysicsObject pallo, PhysicsObject kohde) 
    170170    { 
     171        double xNopeus = pallo.Velocity.X; 
     172 
    171173        if (kohde == oikeaReuna) 
    172174        { 
Note: See TracChangeset for help on using the changeset viewer.