Skip to content

Commit 60ea602

Browse files
committed
Oval has a diff sound
1 parent 7bd18a1 commit 60ea602

File tree

12 files changed

+278
-103
lines changed

12 files changed

+278
-103
lines changed

SoftwareConstruction_DataAbstraction/finalProject/SimpleDrawingPlayer-starter/.idea/artifacts/SimpleDrawingPlayer_jar.xml

+10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

SoftwareConstruction_DataAbstraction/finalProject/SimpleDrawingPlayer-starter/.idea/workspace.xml

+260-102
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Manifest-Version: 1.0
2+
Main-Class: ui.DrawingEditor
3+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Manifest-Version: 1.0
2+
Main-Class: ui.DrawingEditor
3+

SoftwareConstruction_DataAbstraction/finalProject/SimpleDrawingPlayer-starter/src/model/Oval.java

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ public class Oval extends Shape {
99
public Oval(Point topLeft, MidiSynth midiSynth) {
1010
super(topLeft, midiSynth);
1111
PLAYING_COLOR = new Color(231, 22, 229);
12+
instrument = 11;
1213
}
1314

1415
// EFFECTS: return true if this Oval contains the given Point point, else return false

SoftwareConstruction_DataAbstraction/finalProject/SimpleDrawingPlayer-starter/src/model/Shape.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public abstract class Shape {
1515
private boolean selected;
1616

1717
private MidiSynth midiSynth;
18-
private int instrument;
18+
protected int instrument;
1919
private int playLineCoord;
2020

2121

0 commit comments

Comments
 (0)