summaryrefslogtreecommitdiff
path: root/src/instrument.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2019-03-17 11:44:21 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2019-03-17 11:44:21 +0100
commit5dee5069bc10ba3e190723aa68bb880183b1dc4c (patch)
tree9de9f8f3d328c7a1d62540e63ac448d3ed4dd90f /src/instrument.cc
parent5eb47bed81de1326843e1e3bad41addcfed08d4e (diff)
Implemented new directed choke feature.
Diffstat (limited to 'src/instrument.cc')
-rw-r--r--src/instrument.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/instrument.cc b/src/instrument.cc
index 29619d8..6cc4ee9 100644
--- a/src/instrument.cc
+++ b/src/instrument.cc
@@ -94,6 +94,11 @@ void Instrument::finalise()
}
}
+std::size_t Instrument::getID() const
+{
+ return id;
+}
+
const std::string& Instrument::getName() const
{
return _name;
@@ -146,3 +151,8 @@ float Instrument::getMinPower() const
return 0.0f;
}
}
+
+const std::vector<Choke>& Instrument::getChokes()
+{
+ return chokes;
+}