Skip to content

Commit

Permalink
Fix the previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
pierredfc committed Jun 7, 2015
1 parent cfe85fc commit 37539c5
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 43 deletions.
3 changes: 0 additions & 3 deletions breakout/breakout/Breakout.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ public class Breakout : Game {
private ButtonSprite resumeButton;
private ButtonSprite restartButton;
private ButtonSprite nextLevelButton;
private SoundTextures soundTextures;

public Breakout() {
graphics = new GraphicsDeviceManager(this);
Expand All @@ -55,7 +54,6 @@ public Breakout() {
resumeButton = new ButtonSprite(screenWidth, screenHeight, "resume");
restartButton = new ButtonSprite(screenWidth, screenHeight, "restart");
nextLevelButton = new ButtonSprite(screenWidth, screenHeight, "next");
soundTextures = new SoundTextures();
menuArrow = new MenuArrow(screenWidth, screenHeight);


Expand Down Expand Up @@ -110,7 +108,6 @@ protected override void LoadContent() {
restartButton.LoadContent(Content, "restart");
nextLevelButton.LoadContent(Content, "next");
menuArrow.LoadContent(Content, "arrow");
soundTextures.LoadContent(Content.Load<Texture2D>("soundOn"), Content.Load<Texture2D>("soundOff"));

startButton.Position = new Vector2(Window.ClientBounds.Width / 2 - 200, Window.ClientBounds.Height/2);
exitButton.Position = new Vector2(Window.ClientBounds.Width / 2, Window.ClientBounds.Height / 2);
Expand Down
27 changes: 0 additions & 27 deletions breakout/breakout/Textures/SoundTextures.cs

This file was deleted.

1 change: 0 additions & 1 deletion breakout/breakout/breakout.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@
<ItemGroup>
<Compile Include="SoundManager.cs" />
<Compile Include="Textures\BatTextures.cs" />
<Compile Include="Textures\SoundTextures.cs" />
<Compile Include="GameComponents\Ball.cs" />
<Compile Include="GameComponents\Bat.cs" />
<Compile Include="GameComponents\Bonus.cs" />
Expand Down
12 changes: 0 additions & 12 deletions breakout/breakoutContent/breakoutContent.contentproj
Original file line number Diff line number Diff line change
Expand Up @@ -264,18 +264,6 @@
<Processor>SoundEffectProcessor</Processor>
</Compile>
</ItemGroup>
<ItemGroup>
<Compile Include="soundOff.png">
<Name>soundOff</Name>
<Importer>TextureImporter</Importer>
<Processor>TextureProcessor</Processor>
</Compile>
<Compile Include="soundOn.png">
<Name>soundOn</Name>
<Importer>TextureImporter</Importer>
<Processor>TextureProcessor</Processor>
</Compile>
</ItemGroup>
<ItemGroup>
<Compile Include="bowser.mp3">
<Name>bowser</Name>
Expand Down

0 comments on commit 37539c5

Please sign in to comment.