Changeset 4310 for 2013/26


Ignore:
Timestamp:
2013-06-28 12:27:09 (6 years ago)
Author:
juiitamm
Message:
 
Location:
2013/26/OtsoR/Projekti/Projekti
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • 2013/26/OtsoR/Projekti/Projekti/Projekti/Projekti.cs

    r4298 r4310  
    860860        rune.Destroy(); 
    861861        weapon.FireRate *= 2; 
    862         Timer.SingleShot(10, delegate{ weapon.FireRate *=0.5; }); 
     862        Timer.SingleShot(10.0, delegate { weapon.FireRate /= 2; }); 
     863        MessageDisplay.Add("Firerate improved"); 
     864        MediaPlayer.Play("Damage"); 
    863865        runecounter--; 
    864866    } 
     
    866868    { 
    867869        ship.Health.Value += 100; 
     870        MessageDisplay.Add("Hull restored"); 
     871        MediaPlayer.Play("Repair"); 
    868872        rune.Destroy(); 
    869873        runecounter--; 
  • 2013/26/OtsoR/Projekti/Projekti/ProjektiContent/ProjektiContent.contentproj

    r4298 r4310  
    593593    </Compile> 
    594594  </ItemGroup> 
     595  <ItemGroup> 
     596    <Compile Include="Repair.mp3"> 
     597      <Name>Repair</Name> 
     598      <Importer>Mp3Importer</Importer> 
     599      <Processor>SongProcessor</Processor> 
     600    </Compile> 
     601  </ItemGroup> 
     602  <ItemGroup> 
     603    <Compile Include="Damage.mp3"> 
     604      <Name>Damage</Name> 
     605      <Importer>Mp3Importer</Importer> 
     606      <Processor>SongProcessor</Processor> 
     607    </Compile> 
     608  </ItemGroup> 
    595609  <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 
    596610  <!--  To modify your build process, add your task inside one of the targets below and uncomment it.  
Note: See TracChangeset for help on using the changeset viewer.