Changeset 9052 for 2017/30


Ignore:
Timestamp:
2017-07-24 13:54:13 (2 years ago)
Author:
npo17_61
Message:
 
Location:
2017/30/TuomasH/Pong/Pong/Pong
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • 2017/30/TuomasH/Pong/Pong/Pong/Pong.cs

    r9050 r9052  
    1818            pallo.Velocity = new Vector(pallo.Velocity.X * 1.1, pallo.Velocity.Y); 
    1919        } 
    20         base.Update(time); 
     20         
     21   
    2122    } 
    2223    Vector nopeusYlos = new Vector(0, 350); 
     
    3031    PhysicsObject alaReuna; 
    3132    PhysicsObject yläReuna; 
     33    
     34     
     35     
     36     
    3237    public override void Begin() 
    3338    { 
     
    4853            pallo.X = 0.0; 
    4954            pallo.Y = 0.0; 
     55        pallo.CanRotate = false; 
     56 
    5057         vasenReuna = Level.CreateLeftBorder(); 
    5158        vasenReuna.Restitution = 1.0; 
Note: See TracChangeset for help on using the changeset viewer.