summaryrefslogtreecommitdiffstats
path: root/Project/Gain.cpp
diff options
context:
space:
mode:
authorThales Lima Oliveira <thaleslima.ufu@gmail.com>2017-05-09 19:23:52 -0300
committerThales Lima Oliveira <thaleslima.ufu@gmail.com>2017-05-09 19:23:52 -0300
commit2ef7d2bdf1ca4a6b9ee207e4a43f3116f55c0274 (patch)
tree4b0a9fb363e6745bddf373057ac02a878893c483 /Project/Gain.cpp
parent9fb33a91aa22fbce6d0b74529e07af9f7781b916 (diff)
downloadPSP.git-2ef7d2bdf1ca4a6b9ee207e4a43f3116f55c0274.tar.gz
PSP.git-2ef7d2bdf1ca4a6b9ee207e4a43f3116f55c0274.tar.xz
PSP.git-2ef7d2bdf1ca4a6b9ee207e4a43f3116f55c0274.zip
Several solutions implemented
Diffstat (limited to 'Project/Gain.cpp')
-rw-r--r--Project/Gain.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/Project/Gain.cpp b/Project/Gain.cpp
index faea89c..5f65c0c 100644
--- a/Project/Gain.cpp
+++ b/Project/Gain.cpp
@@ -167,3 +167,9 @@ void Gain::Move(wxPoint2DDouble position)
SetPosition(m_movePos + position - m_moveStartPt);
UpdatePoints();
}
+
+bool Gain::Solve(double input)
+{
+ m_output = input * m_value;
+ return true;
+}