Skip to content

Commit

Permalink
Removed unused audio file
Browse files Browse the repository at this point in the history
  • Loading branch information
Timic3 committed Apr 2, 2018
1 parent 692826e commit e733477
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "breakout",
"version": "1.0.0",
"version": "1.0.1",
"license": "MIT",
"scripts": {
"ng": "ng",
Expand Down
2 changes: 1 addition & 1 deletion src/app/app.constants.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export class AppConstants {
// Application version
static readonly APP_VERSION = '1.0.0';
static readonly APP_VERSION = '1.0.1';

static readonly GAME_WIDTH = 1200;
static readonly GAME_HEIGHT = 700;
Expand Down
5 changes: 0 additions & 5 deletions src/app/classes/Packet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ export class Packet extends Drawable {

private wallAudio;
private pointAudio;
private paddleAudio;

constructor(x: number, y: number, bouncer: Bouncer, context: CanvasRenderingContext2D) {
super(x, y, context);
Expand All @@ -41,10 +40,6 @@ export class Packet extends Drawable {
this.wallAudio.src = './assets/sounds/wall.wav';
this.wallAudio.load();

this.paddleAudio = new Audio();
this.paddleAudio.src = './assets/sounds/paddle.wav';
this.paddleAudio.load();

this.pointAudio = new Audio();
this.pointAudio.src = './assets/sounds/point.wav';
this.pointAudio.load();
Expand Down
Binary file removed src/assets/sounds/paddle.wav
Binary file not shown.

0 comments on commit e733477

Please sign in to comment.