Changeset 6828 for 2015


Ignore:
Timestamp:
2015-07-21 10:10:00 (4 years ago)
Author:
misakana
Message:
 
Location:
2015/30/EemilR/Pong/Pong
Files:
2 added
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • 2015/30/EemilR/Pong/Pong/Pong/Pong.cs

    r6823 r6828  
    1010public class Pong : PhysicsGame 
    1111{ 
    12     Image jalkapallo = LoadImage("football"); 
     12    Image football = LoadImage("jalkapallo"); 
    1313    Vector nopeusYlos = new Vector(0, 300); 
    1414    Vector nopeusAlas = new Vector(0, -300); 
     
    5151        pallo.Restitution = 1.0; 
    5252        Add(pallo); 
    53          
    54          
     53        pallo.Image = football; 
     54 
     55                  
    5556 
    5657        maila1 = LuoMaila(Level.Left + 20.0, 0.0); 
  • 2015/30/EemilR/Pong/Pong/PongContent/PongContent.contentproj

    r6823 r6828  
    4646  </ItemGroup> 
    4747  <ItemGroup> 
    48     <Compile Include="football.png"> 
    49       <Name>football</Name> 
     48    <Compile Include="jalkapallo.png"> 
     49      <Name>jalkapallo</Name> 
    5050      <Importer>TextureImporter</Importer> 
    5151      <Processor>TextureProcessor</Processor> 
Note: See TracChangeset for help on using the changeset viewer.